告诉task_project项目,task_tool app已安装
task_project/settings.py
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'task_tool.apps.TaskToolConfig',
]
生成相应的数据库表格
D:\sort\svn_labreport\task_project>python manage.py makemigrations
No changes detected
D:\sort\svn_labreport\task_project>python manage.py migrate
Operations to perform:
Apply all migrations: admin, auth, contenttypes, sessions, task_tool
Running migrations:
No migrations to apply.
D:\sort\svn_labreport\task_project>