mirror of https://github.com/django/django.git
Added 'New in Django development version' note to docs/settings.txt changes from [5072], and fixed alphabetizing
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
6c18ba8c91
commit
2944320eba
|
@ -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
|
||||
-----------
|
||||
|
||||
|
|
Loading…
Reference in New Issue