I know that even in Django 1.9 it works LOGIN_REDIRECT_URL
, what happens I want an alternative to LOGIN_REDIRECT_URL
since support for this will be removed in Django 1.10
I know that even in Django 1.9 it works LOGIN_REDIRECT_URL
, what happens I want an alternative to LOGIN_REDIRECT_URL
since support for this will be removed in Django 1.10
According to the online version notes LOGIN_URL
and LOGIN_REDIRECT_URL
will not be disapproved in the version of Django 1.10 only the option to use the dotted Python path is removed.
The ability to use a dotted Python path for the LOGIN_URL and LOGIN_REDIRECT_URL settings is removed.
This will be removed.
LOGIN_REDIRECT_URL = 'path.a.vistas.login'
But you can still use
LOGIN_REDIRECT_URL = '/login/'
or
LOGIN_REDIRECT_URL = 'login'
Notes: