I have a view that returns HttpResponseForbidden('No permission') if a user shouldn't be on that page. It shows the message 'No permission' and the correct 403 response, but nothing else. I would like it to use my 403.html template I have in my root template directory no match the rest of the site. I thought this would work in django 1.4. Is there something else I need to do to get it to use my custom 403.html template or am I using this incorrectly?
-- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/eeakGzVTLsgJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.