Esempio n. 1
0
 def slug(self):
     """Returns a slugified version from the category title"""
     return slugify(self.title)
Esempio n. 2
0
 def slug(self):
     """Returns a slugified version from the category title"""
     return slugify(self.title)
Esempio n. 3
0
 def slug(self):
     """Returns a slugified version from the forum title"""
     return slugify(self.title)
Esempio n. 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"
Esempio n. 5
0
 def slug(self):
     """Returns a slugified version from the forum title"""
     return slugify(self.title)
Esempio n. 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"
Esempio n. 7
0
 def slug(self):
     """Returns a slugified version of the topic title."""
     return slugify(self.title)
Esempio n. 8
0
 def slug(self):
     """Returns a slugified version of the topic title."""
     return slugify(self.title)
Esempio n. 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'
Esempio n. 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'