D'oh! OK, I am an idiot. I did not create the app with `manage.py
startapp`. I simply created the directory on the command line. Django
does in fact complain.

Guess I got what I deserved ;)

On Jul 13, 4:01 pm, David Lindquist <david.lindqu...@gmail.com> wrote:
> 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