# HG changeset patch # User anoop # Date 1267002620 -19800 # Node ID 624f9fd438e37a413fd34fc6fac1162c8f43d456 # Parent a18d7a0f9b46b6e752612422542a7e58627162da deleted unwanted code in user.py, added css for testing in base.html. diff -r a18d7a0f9b46 -r 624f9fd438e3 taskapp/views/user.py --- a/taskapp/views/user.py Wed Feb 24 13:17:29 2010 +0530 +++ b/taskapp/views/user.py Wed Feb 24 14:40:20 2010 +0530 @@ -65,8 +65,6 @@ @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(): diff -r a18d7a0f9b46 -r 624f9fd438e3 templates/base.html --- a/templates/base.html Wed Feb 24 13:17:29 2010 +0530 +++ b/templates/base.html Wed Feb 24 14:40:20 2010 +0530 @@ -1,12 +1,159 @@ {% block title %}PyTasks{% endblock %} + + -

PyTasks

-{% if user.is_authenticated %} -logout -{% endif %} -

-{% block content %}This is the default content{% endblock %} +
+ +
+
+ +
+
+ {% block content %}This is the default content{% endblock %} +
+ +
+
+
+ +
+ +