Replace create template with edit template.
--- a/pytask/taskapp/views.py Sun Jan 16 20:55:31 2011 +0530
+++ b/pytask/taskapp/views.py Sun Jan 16 20:56:58 2011 +0530
@@ -46,11 +46,11 @@
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.')