diff --git a/docs/settings.txt b/docs/settings.txt index 827ae55239..64968efdf4 100644 --- a/docs/settings.txt +++ b/docs/settings.txt @@ -562,9 +562,23 @@ strings for translation, but the translation won't happen at runtime -- so you'll have to remember to wrap the languages in the *real* ``gettext()`` in any code that uses ``LANGUAGES`` at runtime. +LOGIN_REDIRECT_URL +------------------ + +**New in Django development version** + +Default: ``'/accounts/profile/'`` + +The URL where requests are redirected after login when the +``contrib.auth.login`` view gets no ``next`` parameter. + +This is used by the `@login_required`_ decorator, for example. + LOGIN_URL --------- +**New in Django development version** + Default: ``'/accounts/login/'`` The URL where requests are redirected for login, specially when using the @@ -573,6 +587,8 @@ The URL where requests are redirected for login, specially when using the LOGOUT_URL ---------- +**New in Django development version** + Default: ``'/accounts/logout/'`` LOGIN_URL counterpart. @@ -635,16 +651,6 @@ locales have different formats. For example, U.S. English would say See `allowed date format strings`_. See also DATE_FORMAT, DATETIME_FORMAT, TIME_FORMAT and YEAR_MONTH_FORMAT. -LOGIN_REDIRECT_URL ------------------- - -Default: ``'/accounts/profile/'`` - -The URL where requests are redirected after login when the -``contrib.auth.login`` view gets no ``next`` parameter. - -This is used by the `@login_required`_ decorator, for example. - PREPEND_WWW -----------