Skip to content

Commit

Permalink
Avoid warnings on example when used with Django 3.2+
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsarm committed Feb 21, 2022
1 parent 21c210b commit 96a6898
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions example/example/settings.py
Expand Up @@ -86,6 +86,9 @@
}
}

# Use default autofield when PK is not defined (Django 3.2+)
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'


# Password validation
# https://docs.djangoproject.com/en/1.9/ref/settings/#auth-password-validators
Expand Down

0 comments on commit 96a6898

Please sign in to comment.