diff --git a/tasks/views.py b/tasks/views.py index aaf2547..b3fab07 100644 --- a/tasks/views.py +++ b/tasks/views.py @@ -34,6 +34,7 @@ def taskDetail(request, tool_slug, task_slug): form = EventForm(request.POST, user=request.user, instance=event) if form.is_valid(): form.save() + form = EventForm(user=request.user) else: form = EventForm(request.POST) form.add_error(None, "Not authenticated: please login")