Question Investigation 2 Django Folder Structure - herougo/SoftwareEngineerKnowledgeRepository GitHub Wiki
How should one organize a Django project and why?
Core Questions
- ❓ What is the best folder structure for Django projects?
- ❓ Where should models go?
- ❓ How can Django apps be reusable?
1) What is the best folder structure for Django projects?
2) Where should models go?
Problem: Should models go in a project-specific "data" app or in separate apps?
-
https://www.reddit.com/r/django/comments/2mubw3/in_a_django_project_where_do_you_put_your_core/
- core models can go into a core app
-
https://www.reddit.com/r/django/comments/4gmjxe/django_best_way_to_use_models_between_multiple/
-
https://www.reddit.com/r/django/comments/db1mcc/how_to_structure_a_project_with_too_many_models/
3) How can Django apps be reusable?
Should Django apps be pip packages? What if one project wants a specific change that shouldn't be propagated to other projects?