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

初始化sql脚本里xadmin_api_tyadminsyslog表名应该修改为tyadmin_api_tyadminsyslog #42

Open
nobody284 opened this issue Jan 3, 2021 · 3 comments

Comments

@nobody284
Copy link

改进方法如标题所示
登陆时报错 找不到tyadmin_api_tyadminsyslog表
但是初始化sql脚本里创建的却是xadmin_api_tyadminsyslog表
改了表名就没有问题了

另外希望介绍页面 贴一下tyadmin的登录账户名与密码
否则还要改密码才能登录

@yanhuixie
Copy link

我也遇到一样的问题。可能是早期用的是xadmin,后来换成tyadmin了,数据库没有整合好。

@hhstore
Copy link

hhstore commented Mar 11, 2022

hotfix: 2022-03

  • 遇到问题的, 可以参考我这个分支.
  • 修复: https://github.com/a24zlab/shop
    • 分支: hotfix
  • 原repo 拉取太慢, 我 download 的 zip 代码. 就没法提 PR 了.
  • 可以根据我这个分支, 提 PR.

依赖包替换:

  • 鉴于原依赖包, 未更新, 可临时使用如下包, 替换
# fix:
pip install git+https://github.com/a24zlab/django-antd-tyadmin.git

修复了一些运行报错:

  1. 安装依赖包替换
  2. 代码里依赖包替换
  3. db 表, 改名/新增 tyadmin 表
  4. setting 的 MySQL 配置修改.
  5. docker-compose 文件修改, 修复 M1 兼容性.
  6. 新增 compose-db.yml, 修复 MySQL 容器的错误配置项. (注意改了 root 密码为 dev)

@mtianyan
Copy link
Owner

@hhstore git clone --depth 1 https:// 拉取应该就没那么慢了。感谢PR一下。

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

4 participants