Update on this: the problem was in sys.path: this must contain the
directory where the models.py file is located. So, progress.
BUT, now I get the error 'Import Error, could not import settings',
and for some reason it claims it can't find the mysite.settings
module. Again, I am stumped -- why wo
Update on this: the problem was in sys.path: this must contain the
directory where the models.py file is located. So, progress.
BUT, now I get the error 'Import Error, could not import settings',
and for some reason it claims it can't find the mysite.settings
module. Again, I am stumped -- why wo
I looked into this. mysite.urls exists, no syntax errors, but it seems
that when it tries to import from a models.py file, it goes looking
for that file in a completely different directory, which in fact no
longer exists. Weird.
Is this an environment variable problem? Why would it go looking for
On 2/5/08, Schmoopie <[EMAIL PROTECTED]> wrote:
> Improperly configured
> Error while importing URLconf 'mysite.urls'
>
> but there is no explanation here as to what is wrong with the
> configuration. What could be causing this?
It probably means that your ROOT_URLCONF, `mysite.urls`, is missing
Trying to get manage.py runsever going, I get an exception raised of
the following type
Improperly configured
Error while importing URLconf 'mysite.urls'
but there is no explanation here as to what is wrong with the
configuration. What could be causing this?
--~--~-~--~~-
5 matches
Mail list logo