mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-06 07:47:53 +10:00
move monkey patches to dedicated file
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
__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
|
||||
from .monkey_patches import *
|
||||
|
||||
Reference in New Issue
Block a user