mirror of
https://github.com/jazzband/django-auditlog.git
synced 2026-05-16 03:23:10 +00:00
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
17 lines
423 B
Python
17 lines
423 B
Python
from django.db import migrations
|
|
from django_jsonfield_backport.models import JSONField
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("auditlog", "0008_action_index"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name="logentry",
|
|
name="additional_data",
|
|
field=JSONField(blank=True, null=True, verbose_name="additional data"),
|
|
),
|
|
]
|