In my urls.py, I map the url accounts/login/ to the login module, with a reference to the template i want to use:
url(r'^accounts/login/$', 'django.contrib.auth.views.login', {'template_name': 'templates/login.html'})
This works fine, but I want to change the value of the next property, which specified where the user ought to be redirected after a successful login. How can I access these variables and print their values, and more importantly, how can I modify them?
Thanks!