Skip to content

Commit

Permalink
[#150] Added user profile to 403 page
Browse files Browse the repository at this point in the history
  • Loading branch information
KasperBrandt committed Apr 14, 2014
1 parent bdd356c commit 1d9fa0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion akvo/rsr/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ def forbidden(request, template_name='403.html'):
t = loader.get_template(template_name)
return http.HttpResponseForbidden(t.render(Context({
'error_message': message,
'MEDIA_URL': settings.MEDIA_URL
'MEDIA_URL': settings.MEDIA_URL,
'user': request.user
})))


Expand Down

0 comments on commit 1d9fa0c

Please sign in to comment.