Override Django's management commands to suppress suggestion to create migrations #4051
Labels
status: accepted
This issue has been accepted for implementation
type: housekeeping
Changes to the application which do not directly impact the end user
Proposed Changes
Alter or remove some of Django's built-in management commands to simplify the process of applying schema migrations for users. It might be best to introduce a "developers only" configuration parameter, and simply remove the
makemigrations
command from the list of available commands unless that parameter is set.Justification
When a user does not follow the documented upgrade procedure, they may encounter a scenario where Django warns them of missing migrations, and prompts them to create new migrations. As this should never be required of an end user, we should remove that ability to help preserve the integrity of the installation environment.
The text was updated successfully, but these errors were encountered: