Skip to content

Commit

Permalink
Update to use project Django Json Field
Browse files Browse the repository at this point in the history
  • Loading branch information
jlchilders11 committed Jan 16, 2025
1 parent 36c86eb commit ff976df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion papertrail/fields.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Attempt to use the built-in PostgreSQL json field, but if that is not
# available try the 3rd party jsonfield one.
try:
from django.contrib.postgres.fields import JSONField as BaseJSONField
from django.db.models import JSONField as BaseJSONField
except ImportError:
from jsonfield.fields import JSONField as BaseJSONField

Expand Down

0 comments on commit ff976df

Please sign in to comment.