表'MyDjango.django_admin_log'不存在 [英] Table 'MyDjango.django_admin_log' doesn't exist

查看:214
本文介绍了表'MyDjango.django_admin_log'不存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不能在我的django应用程序中创建用户和博客。只需显示一个错误(TableMyDjango.django_admin_log不存在),同时按保存按钮。错误消息如下所示。



syncdb ?从我看到的,Django找不到您的模型表,但是当您尝试通过管理界面修改它们时,找不到正确的表来存储您的操作。


I cannot create users and blogs in my django application.It simply shows an error("Table 'MyDjango.django_admin_log' doesn't exist") while press save button.The error message as shown below.

解决方案

Have you recently enabled admin history, but forgot to run syncdb? From what I see, Django had no problem locating your model tables, but when you tried to modify them through the admin interface it couldn't find the right table to store your actions.

这篇关于表'MyDjango.django_admin_log'不存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆