After I run django-admin.py startproject foobar it creates a parent foobar directory and another foobar (same name) folder within that, along with the manage.py file. The question is – should I move all of the files from /foobar/foobar into /foobar, and just delete the redundant directory? What is the reason this structure is there in the first place?
After I run django-admin.py startproject foobar it creates a parent foobar directory and another
Share
The new project layout is there to remove sys.path hackery inside manage.py script and to eliminate nasty bugs with imports that lead to executing some code, like signal handlers, many times instead of one.