create admin,student,teacher,course apps

scl-branch
bettleChen 1 year ago
parent 10419fc804
commit 7cadc9ce05

@ -37,7 +37,11 @@ INSTALLED_APPS = [
'django.contrib.sessions', 'django.contrib.sessions',
'django.contrib.messages', 'django.contrib.messages',
'django.contrib.staticfiles', 'django.contrib.staticfiles',
'API' 'API',
'Student',
'teacher',
'course',
'admin',
] ]
MIDDLEWARE = [ MIDDLEWARE = [
@ -79,7 +83,7 @@ DATABASES = {
'ENGINE': 'django.db.backends.mysql', 'ENGINE': 'django.db.backends.mysql',
'NAME': "edu_sys", 'NAME': "edu_sys",
'USER': "root", 'USER': "root",
'PASSWORD': "cyh0110", 'PASSWORD': "123123",
'HOST': "localhost", 'HOST': "localhost",
'PORT': 3306, 'PORT': 3306,
} }

Loading…
Cancel
Save