Friday, June 3, 2011

Re: ImportError: No module named urls

On Fri, 2011-06-03 at 05:07 -0700, Kann wrote:
> > you have a file called mirnaweb.py - your path should contain only
> the
> > parent directory to your mirnaweb directory. Python is now looking
> for
> > settings inside mirnaweb.py
>
> OK, now I changed the setting file into mirna_settings.py to avoid the
> confusion with the directory name. I also include the new setting file
> to django.wsgi file and telling the sys.path to append the new
> PYTHONPATH. I wonder why Python still could not see the modules inside
> my django project.
>
> Also, I tried running the "python manage.py shell" again and it's
> still looking for the "settings.py". Why is that?

rename your mirnaweb.py file and change your settings file back to
settings.py
--
regards
KG
http://lawgon.livejournal.com
Coimbatore LUG rox
http://ilugcbe.techstud.org/

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment