django,访问xadmin后台报错Exception Value: (1146, "Table 'django.xadmin_usersettings' doesn't exist")

报错如图:

解决,执行迁移表命令:

python manage.py makemigrations

python manage.py migrate

生成xadmin数据库表之后再去访问:

如图:

访问成功:

django,访问xadmin后台报错Exception Value: (1146, "Table 'django.xadmin_usersettings' doesn't exist")

原文地址:https://www.cnblogs.com/xiamaojjie/p/12545562.html

时间: 2024-08-29 16:15:57

django,访问xadmin后台报错Exception Value: (1146, "Table 'django.xadmin_usersettings' doesn't exist")的相关文章

Pychrm运行django过程中,报错 "GET /c_hello?asker=backuper HTTP/1.1" 404的原因

Pychrm运行django过程中,报错 "GET /c_hello?asker=backuper HTTP/1.1" 404,原因是django服务的启动端口被其他进程占用了, 1.在windows下cmd运行netstat -ano | find "8000"查找占用改端口的进程pid 2.查看下该pid是什么进程,tasklist | find "PID"决定是否杀掉 3.运行taskkill /PID pid -t -f杀掉进程 重新启动

Sharepoint访问ashx文件报错

Sharepoint访问ashx问件报错:the file you are attempting to save or retrieved has been blocked from this web site by the server administrator 解决方案: 1.打开Sharepoint管理中心 2.安全性/定义被阻止的文件类型 3.remove 文件类型列表中的ashx 4.重新访问ashx文件,成功访问 5.如果访问其他文件也有类似错误,也可以这么修改 本来打算上图的,可

android webView 图片加载不出来 后台报错Uncaught TypeError: Cannot call method 'getElementsByTagName' of null

在之前,webView加载图片完全没有问题.直到前端H5开发换新的加载图片的方式,导致图片忽然加载不出来了. 从后台日志看到了webview 打印了报错信息 Cannot call method 'getElementsByTagName' of null 我怀疑是不是由于此处报错终止了图片加载的进程. 分析此处错误出现的原因: 由于调用的H5界面的js其中的写法不规范,webView在加载的时候,调用的doom模型为空,导致了其图片没有加载出来 解决办法: 在客户端webView.getSet

访问视频资源报错:Failed to load resource: net::ERR_CONNECTION_RESET

访问视频资源报错: 浏览器显示:Failed to load resource: net::ERR_CONNECTION_RESET. 原因:公司内部限制了访问外网资源,凡是视频资源都不能访问. 解决方式: 1.更改要访问的资源地址,改成公司内网能访问到: 2.让公司取消访问外网策略限制... 原文地址:https://www.cnblogs.com/super-chao/p/8949803.html

spring boot 整合kafka 报错 Exception thrown when sending a message with key='null' and payload=JSON to topic proccess_trading_end: TimeoutException: Failed to update metadata after 60000 ms.

org.springframework.kafka.support.LoggingProducerListener- Exception thrown when sending a message with key='null' and payload='{"dataDts":["20180329","20180328","20180327","20180326","20180323"]

mysql为表添加外键完成性约束 报错Can't create table 'sfkbbs.#sql-513_25' (errno: 150)

代码 alter table sfk_son_module add constraint foreign key(father_module_id) references sfk_father_module(id) on delete restrict on update restrict; (constraint 后面可以加上约束名字) 错误原因是之前两张表的id的类型不一样,一个时int,一个时bigint 解决办法时修改表, alter table sfk_father_module mo

解决mysql插入数据报错[Err] 1146 - Table 'performance_schema.session_status' doesn't exist

解决办法:1.打开cmd 执行命令cd/ 进入C盘根目录2.dir 查看C盘根目录下文件夹  找到 Program Files文件夹3.cd Program Files 进入该文件夹下 再输入dir 查看该文件夹下所有文件夹4.cd MySQL 进入该文件夹  再输入dir 查看该文件夹下所有文件夹5.cd MySQLServer 5.7 进入该文件夹  再输入dir 查看该文件夹下所有文件夹6.cd bin 进入该文件夹  7.输入mysql_upgrade -u root -p --forc

Django扩展xadmin后台管理

python:3.7.2django:2.1.2 githup:https://github.com/sshwsfc/xadmin 安装xadmin django版本2.0及以上一不能使用pip install xadmin进行安装,根据作者的安装说明使用一下命令直接从githup安装 pip install git+git://github.com/sshwsfc/xadmin.git@django2 现有项目引入xadmin settings.py设置引入xadmin应用 INSTALLED

logstash启动报错 Exception in thread ">output" org.elasticsearch.discovery.MasterNotDiscoveredException: waited for [30s]

部署ELK时候,logstash启动报错 Sending logstash logs to /var/log/logstash.log.Exception in thread ">output" org.elasticsearch.discovery.MasterNotDiscoveredException: waited for [30s]    at org.elasticsearch.action.support.master.TransportMasterNodeOper