Commit 0be86d4d authored by Ben Waters's avatar Ben Waters

theres a bug and i can't find it look at navbar

parent 8e6a9e49
......@@ -40,7 +40,6 @@ def searchMajorMinor(request):
@login_required
def profile(request):
current_user = get_object_or_404(Student,user__username=request.user.username)
return render_to_response('profile.html', {
"current_user" : current_user,
"firstname" : current_user.user.first_name,
......
......@@ -16,7 +16,7 @@
<li><a href="{% url 'django.contrib.auth.views.logout' %}">Logout</a></li>
{% else %}
<li><a href="{% url 'django.contrib.auth.views.login' %}">Log In</a></li>
{% endif %}
{% endif %}
</ul>
</div><!--/.nav-collapse -->
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment