Example #1
0
 def slug(self):
     """Returns a slugified version from the category title"""
     return slugify(self.title)
Example #2
0
 def slug(self):
     """Returns a slugified version from the category title"""
     return slugify(self.title)
Example #3
0
 def slug(self):
     """Returns a slugified version from the forum title"""
     return slugify(self.title)
Example #4
0
def test_slugify():
    """Test the slugify helper method."""
    assert slugify(u"Hello world") == u"hello-world"

    assert slugify(u"¿Cómo está?") == u"como-esta"
Example #5
0
 def slug(self):
     """Returns a slugified version from the forum title"""
     return slugify(self.title)
Example #6
0
def test_slugify():
    """Test the slugify helper method."""
    assert slugify(u"Hello world") == u"hello-world"

    assert slugify(u"¿Cómo está?") == u"como-esta"
Example #7
0
 def slug(self):
     """Returns a slugified version of the topic title."""
     return slugify(self.title)
Example #8
0
 def slug(self):
     """Returns a slugified version of the topic title."""
     return slugify(self.title)
Example #9
0
def test_slugify():
    """Test the slugify helper method."""
    assert slugify(u'Hello world') == u'hello-world'

    assert slugify(u'¿Cómo está?') == u'como-esta'
Example #10
0
def test_slugify():
    """Test the slugify helper method."""
    assert slugify(u'Hello world') == u'hello-world'

    assert slugify(u'¿Cómo está?') == u'como-esta'