#30643: USE_TZ is enabled by default
------------------------------------------------+------------------------
               Reporter:  terminator14          |          Owner:  nobody
                   Type:  Cleanup/optimization  |         Status:  new
              Component:  Documentation         |        Version:  2.2
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  1
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 In
 [https://github.com/django/django/blob/master/docs/topics/i18n/timezones.txt
 timezones.txt], it says:

 {{{
 Time zone support is disabled by default. To enable it, set
 :setting:`USE_TZ =
 True <USE_TZ>` in your settings file.
 }}}

 and immediately after that, it says:

 {{{
 The default :file:`settings.py` file created by :djadmin:`django-admin
     startproject <startproject>` includes :setting:`USE_TZ = True
 <USE_TZ>`
     for convenience.
 }}}

 which implies it's enabled by default.
 This is either wrong, or confusing.

 I just tested django 2.2.3, and the default settings.py does indeed say
 "USE_TZ = True".

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30643>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/055.1ce048700b5ad53cea34678c93bc1616%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to