Added DEFAULT_AUTO_FIELD to settings.py

Resolves warnings thrown by PyTest.

see https://dev.to/weplayinternet/upgrading-to-django-3-2-and-fixing-defaultautofield-warnings-518n
This commit is contained in:
Zac Bohon 2021-08-02 23:41:36 -05:00
parent 6d7d8d936a
commit badd8922fb

View File

@ -211,5 +211,8 @@ def CHECK_INSTANCE_URL(url, redirect):
return redirect(RICKROLL_URL)
# See https://dev.to/weplayinternet/upgrading-to-django-3-2-and-fixing-defaultautofield-warnings-518n
DEFAULT_AUTO_FIELD='django.db.models.AutoField'
# Version number displayed on about page
BRUTALDON_VERSION = "2.15.0"