ArchiveBox/archivebox/__init__.py
2024-05-06 07:13:25 -07:00

7 lines
194 B
Python
Executable file

__package__ = 'archivebox'
# monkey patch django timezone to add back utc (it was removed in Django 5.0)
import datetime
from django.utils import timezone
timezone.utc = datetime.timezone.utc