shabda wrote:
> 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
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
2 matches
Mail list logo