Comments (3)
初始化数据库报错的你解决了吗?这个报错就是docker pull init-db 不存在的一个仓库
from cmdb.
能说的再清楚些吗?我该如何处理?
from cmdb.
后来我注释掉了这些代码后,初始化DB成功了:
apps/mgmt/initialize.py:
启动时添加read_all 和 write_all权限
permission, is_new = models.Permission.objects.get_or_create(name="read_all")
permission.alias = "所有可读"
permission.save()
permission, is_new = models.Permission.objects.get_or_create(name="write_all")
permission.alias = "所有可写"
permission.save()
启动时建立所有table api 和 对应的权限
tables = models.Table.objects.all()
for table in tables:
add_table(table)
from cmdb.
Related Issues (20)
- 为什么使用API会返回500的错误? HOT 2
- 为什么使用API会返回500的错误?
- 展示的时候,对齐方式能改成定长的吗? HOT 2
- 下载这个源码,总是提示mysqldb模块 找不到 HOT 1
- 初始账号是什么 HOT 2
- 如何启用LDAP认证 HOT 1
- 录入信息,页面报错,读取时间长 HOT 1
- 部署问题
- 创建可以登陆的管理员用户这一步失败了。 HOT 1
- 能否给出一个使用教程
- 访问
- 我本地部署后,点击“登录”,发现后台没有收到post请求,只收到OPTIONS请求,怎么破? HOT 1
- 是否有考虑过把已定义字段数据存入Elasticsearch中,以获取工单全局模糊搜索的能力?
- 求教程
- 作者不再维护这个项目了吗?是否可授权我来接管? HOT 2
- 吼吼
- 表权限怎么配置呢,非管理员用户提示没有任何表权限
- api接口的list功能只能展示10行数据吗
- 表字段可否在已经使用表后再增加字段
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmdb.