Re: Can't create application with the same name as project

2006-03-15 Thread wsongkran
Jacob Kaplan-Moss wrote: > > There isn't actually anything that Django's doing to "prevent" you > here; it's an issue with the way python handles imports and > PYTHONPATH. Think about it: if you've got a structure that looks like:: > > todo/ > settings.py > todo

Re: Can't create application with the same name as project

2006-03-15 Thread Jacob Kaplan-Moss
On Mar 15, 2006, at 8:15 AM, wsongkran wrote: > I think django should not prohibit developer to name their application > after their project name. Should I report this as bug? There isn't actually anything that Django's doing to "prevent" you here; it's an issue with the way python handles imp

Can't create application with the same name as project

2006-03-15 Thread wsongkran
Hi When I create application with the same name as project like this # django-admin.py startproject todo # cd todo # python manage.py startapp todo # python manage.py runserver Traceback (most recent call last): File "manage.py", line 11, in ? execute_manager(settings) File "/usr/lib/pyt