prasanna-s / django-saml2-idp

Automatically exported from code.google.com/p/django-saml2-idp
0 stars 0 forks source link

Use RequestContext in views #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use a base template that has tags requiring request context, such as sekizai.
2. Run a saml2idp view, such as logout.
3. Get an exception from the one of the failing tags.

Adding context_instance=RequestContext(request) to render_to_response calls 
should fix it.

Original issue reported on code.google.com by esqu...@gmail.com on 16 Nov 2011 at 9:54

GoogleCodeExporter commented 9 years ago
Thanks for reporting this, sekizai.

Original comment by j...@andersoninnovative.com on 4 Jun 2012 at 9:26

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r146.

Original comment by j...@andersoninnovative.com on 4 Jun 2012 at 9:27