From a54b93b827fa681b85380824d4f30cb8286a9d92 Mon Sep 17 00:00:00 2001 From: nishanth Date: Thu, 4 Feb 2010 22:34:22 +0530 Subject: renamed templates/error.html to templates/show_msg.html and made changes accordingly in views/user. --- taskapp/views/user.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'taskapp/views/user.py') 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. """ -- cgit