mirror of
https://gitlab.com/brutaldon/brutaldon
synced 2024-12-22 13:34:14 +01:00
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:
parent
6d7d8d936a
commit
badd8922fb
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user