I’m new to Django and trying to decide between two different directory structures. I want to understand the implications of each structure from git
perspective and also which one is more favorable in the industry or common practice.
Method 1
.
├── .git
├── mysite
│ ├── manage.py
│ └── mysite
│ ├── asgi.py
│ ├── __init__.py
│ ├── settings.py
│ ├── urls.py
│ └── wsgi.py
└── README.md
Method 2
.
├── .git
├── manage.py
├── mysite
│ ├── asgi.py
│ ├── __init__.py
│ ├── settings.py
│ ├── urls.py
│ └── wsgi.py
└── README.md
created a few projects with both the structures and want to stick to one or atleast have a favourite.
New contributor
Alok Shandilya is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1