django-auditlog/auditlog/migrations/0011_alter_logentry_additional_data.py
François Magimel 1b88f8c11c build: replace django-jsonfield with django-jsonfield-backport (#339)
The `django-jsonfield` module is not maintained anymore and raises some
errors with Django 4.0. So, as a recommendation in this package, and as
Django 2.2 is still maintained, `django-jsonfield-backport` will do the
job for the `JSONField` field.

Ref #43
Ref #334
2022-02-24 17:43:28 +03:00

17 lines
423 B
Python

from django.db import migrations
from django_jsonfield_backport.models import JSONField
class Migration(migrations.Migration):
dependencies = [
("auditlog", "0010_action_index"),
]
operations = [
migrations.AlterField(
model_name="logentry",
name="additional_data",
field=JSONField(blank=True, null=True, verbose_name="additional data"),
),
]