Table 'pyweb.django_content_type' doesn't exist"

运行测试脚本出现的问题:Table 'pyweb.django_content_type' doesn't exist"

解决方法:参照

1, 在settings.py中INSTALLED_APPS加入:'django.contrib.admin'

2, python manage.py syncdb

你可能感兴趣的:(python,测试脚本)