Quantcast
Channel: Page 10 – UnMickAble
Viewing all articles
Browse latest Browse all 37

django.db.utils.DataError: invalid value for parameter “TimeZone”

$
0
0
If your Django Apps throws this error:     cursor.execute(self.ops.set_time_zone_sql(), [tz]) django.db.utils.DataError: invalid value for parameter "TimeZone": "America/New_York" The problem is that your Database and Django app are set to use different timezones. Search your Django settings files for this: TIME_ZONE = And then connect to your database and query for the timezone. In Postgres … Continue reading django.db.utils.DataError: invalid value for parameter “TimeZone”

Viewing all articles
Browse latest Browse all 37

Trending Articles