#28523: Improve the error message when squashing migration with RunPython that
require manual changes
-------------------------------------+-------------------------------------
Reporter: washeck | Owner: nobody
Type: | Status: new
Cleanup/optimization |
Component: Migrations | Version: 1.11
Severity: Normal | Resolution:
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
-------------------------------------+-------------------------------------
Changes (by Tim Graham):
* type: New feature => Cleanup/optimization
* easy: 1 => 0
Comment:
I'm not sure how much your proposal would help in your case. If the
migration contains a syntax error, it won't be able to run the code to
raise `ImproperlyConfigured`. In light of that, I'm not sure if the
proposed change is worth the additional complexity.
--
Ticket URL: <https://code.djangoproject.com/ticket/28523#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.27706da98ec5db83bae8fee35c37f7a0%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.