lz7cjc
asked on
What directory structure should i set up for my Django project?
Hi
I was wondering what the best directory structure would be for my Django project? I am only building one responsive website which will link to 3rd party APIs and use mapping. I have created a project from the command line which then created a sub directory of the same name. Should that second directory be at the same level as a new app folder that I want to create or should i put the app within that sub folder? I am getting confused since the settings.py file is in the sub directory for the project and I have no settings file in my app folder.
So is the attached correct and if so does the app folder inherit the settings from the Dango_project(n1) settings file?
thanks
I was wondering what the best directory structure would be for my Django project? I am only building one responsive website which will link to 3rd party APIs and use mapping. I have created a project from the command line which then created a sub directory of the same name. Should that second directory be at the same level as a new app folder that I want to create or should i put the app within that sub folder? I am getting confused since the settings.py file is in the sub directory for the project and I have no settings file in my app folder.
So is the attached correct and if so does the app folder inherit the settings from the Dango_project(n1) settings file?
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.