DEV Community

Django: Moving away from project vs app dichotomy

Kamal Mustafa on April 08, 2018

I was looking at one of exercise of a developer learning how to build app using Django. His directory structure look like this:- ceri main manag...
Collapse
 
k4ml profile image
Kamal Mustafa

There's PR that trying to address the confusion of the project setup but I think it still going to the wrong direction.

The PR suggest to change the project directory from <project_name> to config. That basically to handle confusion where django created nested project_name/project_name directory, unless you specify . as the last argument to startproject command.

This really unnecessary if we simply use project_name as app.

Collapse
 
k4ml profile image
Kamal Mustafa

Related discussions on HN - news.ycombinator.com/item?id=19544344.