config ignore

This commit is contained in:
caoqianming 2020-03-23 22:25:19 +08:00
parent 02270722ec
commit 8073c0fa90
2 changed files with 4 additions and 1 deletions

2
.gitignore vendored
View File

@ -28,3 +28,5 @@ selenium-debug.log
package-lock.json
yarn.lock
web.config

View File

@ -27,7 +27,7 @@ SECRET_KEY = '+*j($q+46c*1qre8227=(b$(d@lro0)vllts%l%*8)z5$x#=tx'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = []
ALLOWED_HOSTS = ['*']
# Application definition
@ -136,6 +136,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/3.0/howto/static-files/
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR,'static')
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': [