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

勉强装起来了。。数据库也执行了。。但是数据库里面空空的。。啥都没。。自己创建了一个用户。没权限无法自定义模型。。。 #7

Closed
a290013130 opened this issue Oct 21, 2019 · 5 comments

Comments

@a290013130
Copy link

勉强装起来了。。数据库也执行了。。但是数据库里面空空的。。啥都没。。自己创建了一个用户。没权限无法自定义模型。。。

@pycook
Copy link
Collaborator

pycook commented Oct 21, 2019

你在roles表里创建个admin的role 然后在users_roles表里关联上你的用户和admin role

注意password要设置md5值 , is_block设置为0

@a290013130
Copy link
Author

按照你的要求 加上了 is_block设置为0 但是还是没办法创建 模型定义。

@a290013130
Copy link
Author

http://139.9.185.24:8000/

用户密码 都是admin

@pycook pycook closed this as completed Oct 22, 2019
@pycook pycook reopened this Oct 22, 2019
@pycook
Copy link
Collaborator

pycook commented Oct 22, 2019

你可以留个邮箱否

@a290013130
Copy link
Author

hongbin.wang@live.com

@pycook pycook closed this as completed Oct 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants