datamade / how-to

📚 Doing all sorts of things, the DataMade way
MIT License
80 stars 12 forks source link

Document how to remove one of multiple apps in a django project #374

Open xmedr opened 1 week ago

xmedr commented 1 week ago

Documentation request

We recently removed the dashboard app from CPS's SVE site, leaving only the cms as per this issue. The cms side was reliant on a few pieces of the dashboard, so untangling them took a few steps and multiple deployments across all instances. It could be useful to jot down the process for future reference.

Useful links:

hancush commented 1 week ago

IMO, this is also an issue of code organization. The apps in a Django project should not be so tightly coupled. This is an interesting thread on when to consider something a separate app: https://forum.djangoproject.com/t/why-do-we-need-apps/827