Is it possible to have a DateTimeField in Django without a timezone?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
When you specify USE_TZ = True in your options, Django stores date and time information in UTC in the database; otherwise, it stores naïve date time (date time without timezone).
For user convenience, the default settings.py file generated by django-admin startproject includes USE_TZ = True.
To avoid affixed time zones, specify USE_TZ = False in your settings.