mirror of
http://git.carcosa.net/jmcbray/brutaldon.git
synced 2024-11-23 07:13:52 -05: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