mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #13045 - Add USE_L10N to the project skeleton settings.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12786 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
7989a78baf
commit
44390aeb5d
2 changed files with 11 additions and 2 deletions
|
@ -249,8 +249,13 @@ Format localization
|
|||
|
||||
.. versionadded:: 1.2
|
||||
|
||||
Django's formatting system is disabled by default. To enable it, it's necessary
|
||||
to set :setting:`USE_L10N = True <USE_L10N>` in your settings file.
|
||||
Django's formatting system is disabled by default. To enable it, it's
|
||||
necessary to set :setting:`USE_L10N = True <USE_L10N>` in your settings file.
|
||||
|
||||
.. note::
|
||||
The default :file:`settings.py` file created by
|
||||
:djadmin:`django-admin.py startproject <startproject>` includes
|
||||
:setting:`USE_L10N = True <USE_L10N>` for convenience.
|
||||
|
||||
When using Django's formatting system, dates and numbers on templates will be
|
||||
displayed using the format specified for the current locale. Two users
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue