“No installed app with label 'admin'” running Django migration. The app is installed correctly

后端 未结 13 1289
失恋的感觉
失恋的感觉 2020-12-30 19:37

I am trying to use admin.LogEntry objects during a datamigration on Django 1.7

The \'django.contrib.admin\' app is listed on INSTALLED_APPS

13条回答
  •  北海茫月
    2020-12-30 20:08

    I also got this error after changing database from sqlite to postgresql and by installing psycog2 (which is used to connect django to postgre database) my error has gone.

    pip install psycog2

提交回复
热议问题