Hi, I created the tables in the database using models.py. It was successful. I tried to write a script to populate the database. My project name is "myproject". I have an app "test" inside that project.
When i tried to import a class "Users" from models.py("from myproject.test.models import Users") i gwt the following error. raise EnvironmentError, "Could not import settings '%s' (Is it on sys.path? Does it have syntax errors?): %s" % (self.SETTINGS_MODULE, e) EnvironmentError: Could not import settings 'configurator.settings' (Is it on sys.path? Does it have syntax errors?): No module named configurator.settings I also added my project path to sys.path. The DJANGO_SETTINGS_MODULE variable has a value myproject.settings. Can somebody help me? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---