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 extra objects to the template Hello,
To do this, my first guess would be to write your own view that extends django.contrib.auth.views.login def myLogin(django.contrib.auth.views.login): pass From there, you can add your own variables, and return the correct response for that template. Hopefully this can yoint you in the right direction. Jeff Anderson
signature.asc
Description: OpenPGP digital signature