You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567
  1. from django.utils.timezone import utc
  2. def utc_tzinfo_factory(offset):
  3. if offset != 0:
  4. raise AssertionError("database connection isn't set to UTC")
  5. return utc