The Django Root Directory

By: Dusty Arlia
Published on Saturday, January 11, 2014, 09:41 AM
Last Updated on Tuesday, July 07, 2015 at 10:41 PM
Total Updates: 4

The your_project/ root directory is just a container for your project and its name doesn't matter to Django. You can rename this directory to anything you like. The fact that there is a your_project directory inside the your_project root directory, is a default characteristic of a Django project. Keeping the root directory the same name as the nested directory may be beneficial when referring to online help (and might limit confusion, preventing you from later asking the question "Why do they have the same folder twice?").

Here's a look at the default structure:

your_project/
    manage.py
    your_project/
        __init__.py
        settings.py
        urls.py
        wsgi.py

Comments:

Ad:

Ad: