Changes between Version 2 and Version 3 of Ticket #36016
- Timestamp:
- Dec 16, 2024, 9:39:04 AM (3 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36016 – Description
v2 v3 29 29 This isn’t very user-friendly: it seems like maybe you broke Django, and it pushes the question up out of the terminal window. 30 30 31 Instead, we could quit with a nice message, perhaps somethinglike:31 Instead, we could quit with minimal output, perhaps a simple message like: 32 32 33 33 {{{ 34 34 Select an option: ^C 35 Cancelled , no migration file for app 'example' written.35 Cancelled. 36 36 }}} 37 37 38 The message needs to be clear in the case that `makemigrations` generates migration files for some apps but is then quit. 39 40 It should probably use [https://docs.djangoproject.com/en/5.1/ref/django-admin/#syntax-coloring the notice style]. 38 If there's a message, it should probably use [https://docs.djangoproject.com/en/5.1/ref/django-admin/#syntax-coloring the notice style].