mirror of
https://github.com/neogeek23/drawshare.git
synced 2026-02-05 03:28:21 +00:00
8 lines
176 B
Python
8 lines
176 B
Python
|
|
from django.utils.timezone import utc
|
||
|
|
|
||
|
|
|
||
|
|
def utc_tzinfo_factory(offset):
|
||
|
|
if offset != 0:
|
||
|
|
raise AssertionError("database connection isn't set to UTC")
|
||
|
|
return utc
|