mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-31 23:08:25 -04:00
move monkey patches to dedicated file
This commit is contained in:
parent
b5ad134264
commit
e97d779cd3
3 changed files with 21 additions and 4 deletions
|
@ -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 *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue