From: Radek Czajka Date: Tue, 17 Aug 2010 11:41:36 +0000 (+0200) Subject: fix view name X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/11ffe0d7be49a89f0070444a711328f2bb56be82?ds=inline fix view name --- diff --git a/apps/wiki/views.py b/apps/wiki/views.py index 7417235b..1bc40617 100644 --- a/apps/wiki/views.py +++ b/apps/wiki/views.py @@ -130,7 +130,7 @@ def create_missing(request, name): 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(" ", "_"),