Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

数据库里面的表是怎么创建的? #13

Open
xiaozitwo opened this issue Apr 18, 2017 · 1 comment
Open

数据库里面的表是怎么创建的? #13

xiaozitwo opened this issue Apr 18, 2017 · 1 comment
Labels

Comments

@xiaozitwo
Copy link

您好:
数据库里面的表是在哪个地方创建的?最开始只创建了个数据库,没找到创建表的代码呢,能讲解下么?

@xpleaf
Copy link
Owner

xpleaf commented Apr 20, 2017

在manage.py文件中,执行了upgrade(),就会创建数据库和相应的表。

@xpleaf xpleaf added the question label Jul 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants