Skip to content

Commit

Permalink
Merge pull request #15 from jlchilders11/master
Browse files Browse the repository at this point in the history
Update to use project Django Json Field
  • Loading branch information
martinmain93 authored Jan 17, 2025
2 parents 36c86eb + ff976df commit 493354e
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 493354e

Please sign in to comment.