版本:django1.9,python2.7。
从github下载xadmin源文件后,跟着视频配置,然后就出现这个错误。
RuntimeError: Model class extra_apps.xadmin.models.Bookmark doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded.
(翻译:RuntimeError:模型类extra_apps.xadmin.models.Bookmark没有声明显式app_label,也不在INSTALLED_APPS中的应用程序中,或者在加载应用程序之前导入。)



来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/4798/viewspace-3127429/ ,如需转载,请注明出处,否则将追究法律责任。