diff options
Diffstat (limited to 'client/views.py')
-rw-r--r-- | client/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/views.py b/client/views.py index f69b614..86142ef 100644 --- a/client/views.py +++ b/client/views.py @@ -228,7 +228,7 @@ def create(request): key = KeyVal(container=document, key=Keys.objects.get(id=i).key, value=request.POST[i]) key.save() - return HttpResponseRedirect('/') + return HttpResponseRedirect('/?approve_doc=' + str(document.id)) return render(request, 'client/doc_create.html', context) |