diff --git a/django_vue_cli/settings.py b/django_vue_cli/settings.py index e319901..97fc8da 100644 --- a/django_vue_cli/settings.py +++ b/django_vue_cli/settings.py @@ -70,22 +70,22 @@ TIME_ZONE = "Asia/Shanghai" LANGUAGE_CODE = "zh-hans" # Database # https://docs.djangoproject.com/en/3.2/ref/settings/#databases -# DATABASES = { -# 'default': { -# 'ENGINE': 'django.db.backends.sqlite3', -# 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), -# } -# } DATABASES = { - "default": { - "ENGINE": "django.db.backends.mysql", - "NAME": 'music', # noqa - "USER": "root", - "PASSWORD": "123456", - "HOST": "localhost", - "PORT": "3306", - }, + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), + } } +# DATABASES = { +# "default": { +# "ENGINE": "django.db.backends.mysql", +# "NAME": 'music', # noqa +# "USER": "root", +# "PASSWORD": "123456", +# "HOST": "localhost", +# "PORT": "3306", +# }, +# } # Password validation # https://docs.djangoproject.com/en/3.2/ref/settings/#auth-password-validators diff --git a/static/dist/index.prod.html b/static/dist/index.prod.html index 60120e6..b8e3a43 100644 --- a/static/dist/index.prod.html +++ b/static/dist/index.prod.html @@ -1,3 +1,3 @@