0down votefavorite I am getting error like django.db.utils.OperationalError: (1050, "Table 'someTable' already exists") I want to know reason for getting this type error. I ran the following commands on termial 1. python manage.py makemigratio…
Error Msg 创建了一个apps的目录将所有app放入apps文件中, 将apps路径加入sys.path中:sys.insert(0, os.path.join(BASE_DIR, "apps")) 未改前: RuntimeError: Model class scanhosts.models.HostLoginInfo doesn't declare an explicit app_label and isn't in an application in INSTALLED_…