From 7cadc9ce05332ca1c39288e49fb28d2e3477e9d1 Mon Sep 17 00:00:00 2001 From: bettleChen <2207153529@qq.com> Date: Wed, 6 Sep 2023 09:15:40 +0800 Subject: [PATCH] create admin,student,teacher,course apps --- EduSystemServer/EduSystemServer/settings.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/EduSystemServer/EduSystemServer/settings.py b/EduSystemServer/EduSystemServer/settings.py index 69bb3c6..ad807ba 100644 --- a/EduSystemServer/EduSystemServer/settings.py +++ b/EduSystemServer/EduSystemServer/settings.py @@ -37,7 +37,11 @@ INSTALLED_APPS = [ 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', - 'API' + 'API', + 'Student', + 'teacher', + 'course', + 'admin', ] MIDDLEWARE = [ @@ -79,7 +83,7 @@ DATABASES = { 'ENGINE': 'django.db.backends.mysql', 'NAME': "edu_sys", 'USER': "root", - 'PASSWORD': "cyh0110", + 'PASSWORD': "123123", 'HOST': "localhost", 'PORT': 3306, }