fix AutoField warning in django >= 3.2, part of #115

This commit is contained in:
meeb 2021-04-30 13:55:33 +10:00
parent 9ccb9db6de
commit 2c7116f6ba
1 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,9 @@ WSGI_APPLICATION = 'tubesync.wsgi.application'
DATABASES = {} DATABASES = {}
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
AUTH_PASSWORD_VALIDATORS = [ AUTH_PASSWORD_VALIDATORS = [
{ {
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', 'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',