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