From: Radek Czajka Date: Thu, 12 Aug 2010 10:30:32 +0000 (+0200) Subject: fix adding document bug X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/5b8b74cc22768b7d3144287f5bd9111479179383 fix adding document bug --- diff --git a/apps/wiki/models.py b/apps/wiki/models.py index 5faf1d3b..3e892adc 100644 --- a/apps/wiki/models.py +++ b/apps/wiki/models.py @@ -73,7 +73,7 @@ class DocumentStorage(object): return document def create_document(self, text, name): - title = u', '.join(p.title for p in split_name(name)) + title = u', '.join(p.title() for p in split_name(name)) if text is None: text = u''