#3415: django allows invalid TIME_ZONE in settings.py
----------------------------------------------+-----------------------------
Reporter: [EMAIL PROTECTED] | Owner: jacob
Status: new | Component:
Uncategorized
Version: 0.95 | Resolution:
Keywords: datetime TIME_ZONE settings.py | Stage: Accepted
Has_patch: 0 | Needs_docs: 0
Needs_tests: 0 | Needs_better_patch: 0
----------------------------------------------+-----------------------------
Changes (by mtredinnick):
* stage: Design decision needed => Accepted
Comment:
-1 on maintaining a list of values, because it would repeat information
that is already known to the OS (and the list would be different for
different operating systems).
Doing a sanity check against UTC for cases when we are not expecting to be
in UTC is a reasonable idea. However, it may be fiddly because you can't
raise errors for London and related time zones when they are not on summer
time.
The "design decision" is not to keep the list, but if sanity checking is
possible, then that seems reasonable. We may discover that sanity checking
is really hard to get right, though.
--
Ticket URL: <http://code.djangoproject.com/ticket/3415#comment:4>
Django Code <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---