diff options
author | anoop | 2010-02-24 14:40:20 +0530 |
---|---|---|
committer | anoop | 2010-02-24 14:40:20 +0530 |
commit | 0a5d8db468dd357ae10a86cb84345c67e7d182b6 (patch) | |
tree | 6175edd9ddafcc014d050e2486a5298c0c545274 /taskapp/views | |
parent | a9ef4454ebb728f5af57e10aba06f2a2873d6ae8 (diff) | |
download | pytask-0a5d8db468dd357ae10a86cb84345c67e7d182b6.tar.gz pytask-0a5d8db468dd357ae10a86cb84345c67e7d182b6.tar.bz2 pytask-0a5d8db468dd357ae10a86cb84345c67e7d182b6.zip |
deleted unwanted code in user.py, added css for testing in base.html.
Diffstat (limited to 'taskapp/views')
-rw-r--r-- | taskapp/views/user.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/taskapp/views/user.py b/taskapp/views/user.py index 8746214..7fa86be 100644 --- a/taskapp/views/user.py +++ b/taskapp/views/user.py @@ -65,8 +65,6 @@ def view_my_profile(request,uid=None): @login_required def edit_my_profile(request): """ enables the user to edit his/her user profile """ - if str(request.user) == 'AnonymousUser': - return show_msg('Please register yourself to activate the functionality') if request.method == 'POST': form = UserProfileEditForm(request.POST) # if not form.is_valid(): |