summaryrefslogtreecommitdiff
path: root/taskapp/views
diff options
context:
space:
mode:
authoranoop2010-02-24 14:40:20 +0530
committeranoop2010-02-24 14:40:20 +0530
commit0a5d8db468dd357ae10a86cb84345c67e7d182b6 (patch)
tree6175edd9ddafcc014d050e2486a5298c0c545274 /taskapp/views
parenta9ef4454ebb728f5af57e10aba06f2a2873d6ae8 (diff)
downloadpytask-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.py2
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():