运行测试脚本出现的问题:Table 'pyweb.django_content_type' doesn't exist"
解决方法:参照
1, 在settings.py中INSTALLED_APPS加入:'django.contrib.admin'
2, python manage.py syncdb
运行测试脚本出现的问题:Table 'pyweb.django_content_type' doesn't exist"
解决方法:参照
1, 在settings.py中INSTALLED_APPS加入:'django.contrib.admin'
2, python manage.py syncdb
转载于:https://my.oschina.net/sinpo/blog/112694