From 5b8b74cc22768b7d3144287f5bd9111479179383 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 12 Aug 2010 12:30:32 +0200 Subject: [PATCH 1/1] fix adding document bug --- apps/wiki/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'' -- 2.20.1