Re: add template variable to an external view, without changing the view

2010-12-20 Thread Mikhail Korobov
Hi Yves, In django 1.3 there is also a TemplateResponse ( http://docs.djangoproject.com/en/dev/ref/template-response/ ) that can perform as render_to_response replacement, doesn't require class based views and enables developer to change the template context (as well as the template to be

add template variable to an external view, without changing the view

2010-12-20 Thread yves_s
Hello I'm using the registration django app and want to have the registration and login form on the same page. When I reuse the auth_login view, the registration form is missing in the context of the template. My quickfix is to copy the original auth login view to my own views. Then I changed the