Skip to content

Commit

Permalink
Merge pull request #645 from drnlm/feature/specify_default_autofield
Browse files Browse the repository at this point in the history
Add DEFAULT_AUTO_FIELD setting to silence complaints from Django 3.2 onwards
  • Loading branch information
drnlm committed Sep 7, 2022
2 parents 6f13c01 + b2f572b commit ba7c4f9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wafer/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,6 @@

# Groups to which new users should be automatically added.
WAFER_DEFAULT_GROUPS = ()

# Specify DEFAULT_AUTO_FIELD to make Django >= 3.2 happy
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'

0 comments on commit ba7c4f9

Please sign in to comment.