Django “ImproperlyConfigured”, but not always
问题 I'm starting a new Django project, using Pycharm 4. I have defined the various models, and if I run tests, such as this, from django.test import TestCase from models import OwnerDatabase class TestZero(TestCase): def test_Settings(self): item=OwnerDatabase.objects.first everything works. But in a different part of the project, if I have this code (a standalone script) from models import OwnerDatabase the program balks with the following traceback File "/home/piffy/PycharmProjects/Russeau