Hi Everyone,

I discovered by accident that if you have an app with the same name as
the project, then `python manage.py shell` (and similar commands)
cannot import the settings file. I assume this is due to how Django
updates sys.path.

I would expect Django update sys.path to look in the project directory
first, or at least complain if it detects an app with the same name as
the project.

The fix was easy enough; I just changed my app name. But would you
consider this a bug?
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to