summaryrefslogtreecommitdiff
path: root/taskapp
diff options
context:
space:
mode:
Diffstat (limited to 'taskapp')
-rw-r--r--taskapp/views/user.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/taskapp/views/user.py b/taskapp/views/user.py
index 6013fe9..ee174d1 100644
--- a/taskapp/views/user.py
+++ b/taskapp/views/user.py
@@ -6,10 +6,10 @@ from pytask.taskapp.events.user import createUser
from django.contrib.auth import login, logout, authenticate
from django.contrib.auth.models import User
-def show_msg(error_msg):
+def show_msg(message):
""" simply redirect to homepage """
- return render_to_response('error.html',{'error_msg':error_msg})
+ return render_to_response('show_msg.html',{'message':message})
def homepage(request):
""" check for authentication and display accordingly. """