taskapp/views/user.py
changeset 20 ec7b1751c161
parent 18 a39549bd5b08
child 21 c28774fe7ffd
--- a/taskapp/views/user.py	Thu Feb 04 22:30:30 2010 +0530
+++ b/taskapp/views/user.py	Thu Feb 04 22:34:22 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. """