Hello, 
can someone explain me the setting 'redirect_field_name' in LoginView?

I have following in my urls.py:

url('^login/$', LoginView.as_view(template_name='accounts/login.html')

Now it is redirected by default to 'next'=/accounts/profile/. I'd like to 
set my own url for redirect. Is it better to set 'next' value in view? Or 
 'redirect_field_name' in urls?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e9021b17-f4a2-4531-a209-82638f70868a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to