diff options
-rwxr-xr-x | pytask/taskapp/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pytask/taskapp/views.py b/pytask/taskapp/views.py index bbfb8fa..8950aa4 100755 --- a/pytask/taskapp/views.py +++ b/pytask/taskapp/views.py @@ -46,11 +46,11 @@ def create_task(request): else: context.update({'form':form}) return shortcuts.render_to_response( - 'task/create.html', context) + 'task/edit.html', context) else: form = taskapp_forms.CreateTaskForm() context.update({'form': form}) - return shortcuts.render_to_response('task/create.html', context) + return shortcuts.render_to_response('task/edit.html', context) else: return show_msg(user, 'You are not authorised to create a task.') |