Django provides the ability to group sets of features into Python packages called applications. When requirements change, apps may become obsolete or unnecessary. The following steps will help you delete an application safely.
Remove all references to the app (imports, foreign keys etc.).
Remove all models from the corresponding
Create relevant migrations by running
makemigrations. This step
generates a migration that deletes tables for the removed models, and any
other required migration for updating relationships connected to those
Squash out references to the app in other apps’ migrations.
Apply migrations locally, runs tests, and verify the correctness of your project.
Deploy/release your updated Django project.
Remove the app from
Finally, remove the app’s directory.