To allow users to log-in,
I have something like this in urls.py
(r'^accounts/login/$', 'django.contrib.auth.views.login',
{'template_name': 'myapp/login.html'}),
But myapp/login.html expects a number of extra objects from
that
populated by the login view. In other generic views, I could
have
added extra objects by using extra_context optional method.
But this
view does not take the extra_context optional argument., so
how can I
pass extra objects to the template?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-users googlegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribe googlegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|