fix view name
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 17 Aug 2010 11:41:36 +0000 (13:41 +0200)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 17 Aug 2010 11:41:36 +0000 (13:41 +0200)
apps/wiki/views.py

index 7417235..1bc4061 100644 (file)
@@ -130,7 +130,7 @@ def create_missing(request, name):
                 text=form.cleaned_data['text'],
             )
 
                 text=form.cleaned_data['text'],
             )
 
-            return http.HttpResponseRedirect(reverse("wiki_details", args=[doc.name]))
+            return http.HttpResponseRedirect(reverse("wiki_editor", args=[doc.name]))
     else:
         form = DocumentCreateForm(initial={
                 "id": name.replace(" ", "_"),
     else:
         form = DocumentCreateForm(initial={
                 "id": name.replace(" ", "_"),