mirror of
https://github.com/Hopiu/django-notifications.git
synced 2026-05-12 07:13:09 +00:00
JSONField has updated, the patch is no longer needed. Horray!
This commit is contained in:
parent
80830d1559
commit
9596b599ad
2 changed files with 2 additions and 16 deletions
|
|
@ -11,16 +11,3 @@
|
|||
__version__ = '1.4.0'
|
||||
|
||||
default_app_config = 'notifications.apps.Config' # pylint: disable=invalid-name
|
||||
|
||||
|
||||
# patch jsonfield expectations until they actually update
|
||||
def _patch_jsonfield_six():
|
||||
import django
|
||||
if django.VERSION >= (3,):
|
||||
from django import utils
|
||||
import six
|
||||
utils.six = six
|
||||
|
||||
|
||||
_patch_jsonfield_six()
|
||||
del _patch_jsonfield_six
|
||||
|
|
|
|||
5
setup.py
5
setup.py
|
|
@ -28,15 +28,14 @@ setup(
|
|||
install_requires=[
|
||||
'django>=2.2',
|
||||
'django-model-utils>=3.1.0',
|
||||
'jsonfield>=1.0.3',
|
||||
'six', # for jsonfield on django 3.0 until it drops py2 compat
|
||||
'jsonfield>=2.1.0',
|
||||
'pytz',
|
||||
'swapper'
|
||||
],
|
||||
test_requires=[
|
||||
'django>=2.2',
|
||||
'django-model-utils>=3.1.0',
|
||||
'jsonfield>=1.0.3',
|
||||
'jsonfield>=2.1.0',
|
||||
'pytz'
|
||||
],
|
||||
packages=[
|
||||
|
|
|
|||
Loading…
Reference in a new issue