Skip to content

Commit

Permalink
Merge pull request dimagi#31386 from dimagi/dm/django3-default-auto-f…
Browse files Browse the repository at this point in the history
…ield

DEFAULT_AUTO_FIELD to avoid deprecation warnings
  • Loading branch information
millerdev authored Apr 1, 2022
2 parents 89224bd + b927572 commit 47495f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@
)

ROOT_URLCONF = "urls"
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'

DEFAULT_APPS = (
'django.contrib.admin',
Expand Down

0 comments on commit 47495f8

Please sign in to comment.