Re: How to pass extra attributes to User authentication view?

2007-12-30 Thread Jeff Anderson
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

How to pass extra attributes to User authentication view?

2007-12-22 Thread shabda
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