Fix JSONField deprecation warning
This commit is contained in:
@@ -0,0 +1,38 @@
|
|||||||
|
# Generated by Django 3.2.14 on 2022-08-01 19:17
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
("webapp", "0080_auto_20220801_2213"),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="baserole",
|
||||||
|
name="id",
|
||||||
|
field=models.AutoField(primary_key=True, serialize=False),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="signup",
|
||||||
|
name="answer",
|
||||||
|
field=models.JSONField(),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="signupform",
|
||||||
|
name="questions",
|
||||||
|
field=models.JSONField(),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="signupform",
|
||||||
|
name="schema",
|
||||||
|
field=models.JSONField(),
|
||||||
|
),
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name="templatequestion",
|
||||||
|
name="questions",
|
||||||
|
field=models.JSONField(),
|
||||||
|
),
|
||||||
|
]
|
||||||
+1
-1
@@ -11,7 +11,7 @@ import requests
|
|||||||
from uuid import uuid4
|
from uuid import uuid4
|
||||||
import logging
|
import logging
|
||||||
from django.utils.translation import ugettext_lazy as _
|
from django.utils.translation import ugettext_lazy as _
|
||||||
from django.contrib.postgres.fields import JSONField
|
from django.db.models import JSONField
|
||||||
from auditlog.registry import auditlog
|
from auditlog.registry import auditlog
|
||||||
from polymorphic.models import PolymorphicModel
|
from polymorphic.models import PolymorphicModel
|
||||||
from webapp.utils import month_from_now, send_signup_email
|
from webapp.utils import month_from_now, send_signup_email
|
||||||
|
|||||||
Reference in New Issue
Block a user