Added DVCS application - mercurial on database.
[redakcja.git] / apps / wiki / models.py
index b7527f3..a8a9405 100644 (file)
@@ -72,7 +72,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''