Skip to content

Commit

Permalink
数据库上传
Browse files Browse the repository at this point in the history
  • Loading branch information
wkunzhi committed Dec 13, 2019
1 parent 09e8268 commit 7190ec5
Show file tree
Hide file tree
Showing 39 changed files with 636 additions and 1 deletion.
611 changes: 611 additions & 0 deletions Company.sql

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion CompanyQuiry/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
# 用户
'USER': 'root',
# 密码
'PASSWORD': 'Kunzhi_1130'
'PASSWORD': ''
}
}

Expand Down
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,30 @@
**信息管理**
![](https://zok-blog.oss-cn-hangzhou.aliyuncs.com/images/20191213/WX20191213-110731.png)

# 使用说明
1. 根目录下 `Company.sql` 为数据库, 需要先导入到自己数据库中。
2. 在 CompanyQuiry -> setting.py 中该部分设置

```python
DATABASES = {
'default': {
# 连接数据库类型 在末尾写入mysql即可
'ENGINE': 'django.db.backends.mysql',
# 数据库地址
'HOST': '127.0.0.1',
# 端口
'PORT': 3306,
# 数据库名
'NAME': 'Company',
# 用户
'USER': 'root',
# 密码
'PASSWORD': ''
}
}
```



# rbac 组件使用
[**rbac 说明文档**](https://blog.zhangkunzhi.com/2019/12/13/crm%E7%BB%84%E4%BB%B6%E4%BD%BF%E7%94%A8/index.html)
Expand Down
Binary file added rbac/forms/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file added rbac/forms/__pycache__/base.cpython-37.pyc
Binary file not shown.
Binary file added rbac/forms/__pycache__/menu.cpython-37.pyc
Binary file not shown.
Binary file added rbac/forms/__pycache__/role.cpython-37.pyc
Binary file not shown.
Binary file added rbac/forms/__pycache__/user.cpython-37.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added rbac/migrations/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file not shown.
Binary file added rbac/service/__pycache__/routes.cpython-37.pyc
Binary file not shown.
Binary file added rbac/service/__pycache__/urls.cpython-37.pyc
Binary file not shown.
Binary file not shown.
Binary file added rbac/templatetags/__pycache__/rbac.cpython-37.pyc
Binary file not shown.
Binary file added rbac/views/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file added rbac/views/__pycache__/menu.cpython-37.pyc
Binary file not shown.
Binary file added rbac/views/__pycache__/role.cpython-37.pyc
Binary file not shown.
Binary file added rbac/views/__pycache__/user.cpython-37.pyc
Binary file not shown.
Binary file added stark/migrations/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file added stark/service/__pycache__/v1.cpython-37.pyc
Binary file not shown.
Binary file added stark/utils/__pycache__/pagination.cpython-37.pyc
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added web/migrations/__pycache__/0004_food.cpython-37.pyc
Binary file not shown.
Binary file added web/migrations/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file added web/utils/__pycache__/MD5.cpython-37.pyc
Binary file not shown.
Binary file added web/utils/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file added web/views/__pycache__/__init__.cpython-37.pyc
Binary file not shown.
Binary file added web/views/__pycache__/base.cpython-37.pyc
Binary file not shown.
Binary file added web/views/__pycache__/card.cpython-37.pyc
Binary file not shown.
Binary file added web/views/__pycache__/company.cpython-37.pyc
Binary file not shown.
Binary file added web/views/__pycache__/food.cpython-37.pyc
Binary file not shown.
Binary file added web/views/__pycache__/userinfo.cpython-37.pyc
Binary file not shown.
Binary file added web/views/__pycache__/views.cpython-37.pyc
Binary file not shown.

0 comments on commit 7190ec5

Please sign in to comment.