The extra_context keyword argument should be available in the auth app views
|Reported by:||Owned by:||durdinator|
|Severity:||Keywords:||extra_context auth "generic views" sprintsept14|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When using the views in the auth app (django.contrib.auth.views), it would be nice to have the option of passing extra context variables through the views and to the templates. This seems to be possible with django generic views by passing a dictionary to the "extra_context" keyword argument.
This would be useful for passing context variables to the login/logout templates which are specific to only those templates and therefore don't belong in the RequestContext context processors.
Change History (25)
comment:1 Changed 10 years ago by
|Component:||Uncategorized → Metasystem|
|Owner:||changed from Jacob to Adrian Holovaty|
|Triage Stage:||Unreviewed → Design decision needed|
|Version:||0.96 → SVN|
comment:2 Changed 10 years ago by
|Component:||Metasystem → Contrib apps|
|Triage Stage:||Design decision needed → Accepted|