Table 'MyDjango.django_admin_log' doesn't exist

后端 未结 3 1240
再見小時候
再見小時候 2021-02-20 07:04

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 messa

3条回答
  •  终归单人心
    2021-02-20 07:55

    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.

提交回复
热议问题