Better directory structure for Django projects with git perspective
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.
Do I need to put all __pycache__ folders in project folder and apps folders?
I’ve seen people add a pycache folder in .gitignore.
Do I need to put all __pycache__ folders in project folder and apps folders?
I’ve seen people add a pycache folder in .gitignore.
Should I put Django venv directory in .gitignore?
In my book Python Crash Course 2nd edition it is recommended to put ll_env (venv directory) in .gitignore.