改为默认可注册

This commit is contained in:
kingmo888 2024-03-07 10:49:34 +08:00
parent 2b3de4173a
commit 0585aa9ab7

View File

@ -32,7 +32,7 @@ DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
ALLOWED_HOSTS = ["*"]
AUTH_USER_MODEL = 'api.UserProfile' #AppName.自定义user
ALLOW_REGISTRATION = False # 是否允许注册, True为允许False为不允许
ALLOW_REGISTRATION = True # 是否允许注册, True为允许False为不允许
# Application definition