pytask/taskapp/views/user.py
changeset 13 4da58abdf6ff
parent 11 d28fcc644fbb
child 14 f2623fb8041a
--- a/pytask/taskapp/views/user.py	Sat Jan 30 13:04:58 2010 +0530
+++ b/pytask/taskapp/views/user.py	Sat Jan 30 13:10:11 2010 +0530
@@ -6,10 +6,10 @@
 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. """