Esempio n. 1
0
    def clean_title(self):
        """ Page title must be a WikiWord.
        """
        title = downcode(self.cleaned_data['title']).lower()


        return title
Esempio n. 2
0
 def slugify_wikiword(match):
     wiki_url = '<a href="../%s/">%s</a>' % (downcode(match.group(2) or match.group(1)).lower(), match.group(1))
     return wiki_url