From 44c6b6f5943e0034b1f12392d7f995a61a19e462 Mon Sep 17 00:00:00 2001 From: DJ Gillespie Date: Wed, 25 Nov 2020 16:44:35 -0700 Subject: [PATCH] removed old references to jsonfield --- connection/models.py | 1 - qrtr_account/models.py | 3 +-- requirements.txt | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/connection/models.py b/connection/models.py index ef0be4d..638d962 100644 --- a/connection/models.py +++ b/connection/models.py @@ -1,5 +1,4 @@ from django.db import models -import jsonfield from qrtr_account.models import Account import importlib diff --git a/qrtr_account/models.py b/qrtr_account/models.py index 6e4a35a..26aacee 100644 --- a/qrtr_account/models.py +++ b/qrtr_account/models.py @@ -2,7 +2,6 @@ from django.db import models from user.models import User from django.contrib.contenttypes.fields import GenericForeignKey from django.contrib.contenttypes.models import ContentType -import jsonfield class Account(models.Model): @@ -116,7 +115,7 @@ class Transaction(models.Model): datetime = models.DateTimeField() Bank = models.ForeignKey(Bank, on_delete=models.CASCADE, related_name='transactions') - details = jsonfield.JSONField() + details = models.JSONField() Slice = models.ForeignKey(Slice, on_delete=models.SET_NULL, null=True) @property diff --git a/requirements.txt b/requirements.txt index 23e24b9..f3b7085 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,7 +16,6 @@ Django==3.1.3 django-allauth==0.42.0 django-cors-headers==3.4.0 django-genericrelationview==0.1.1 -django-jsonfield==1.4.0 django-rest-auth==0.9.5 django-rest-framework==0.1.0 django-smtp-ssl==1.0