#23302: Cannot give a name to a migration from command line
-----------------------------+------------------------------------
Reporter: rsalmaso | Owner: nobody
Type: New feature | Status: new
Component: Migrations | Version: 1.7-rc-2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+------------------------------------
Comment (by rsalmaso):
Keep --name/-n option, works fine in master thanks to
https://code.djangoproject.com/ticket/23309 and a workaround in 1.7.x
backport (call makemigrations.Command().execute() directly).
I've added two PR with tests and a note in migrations doc.
PR against master https://github.com/django/django/pull/3090
PR against 1.7.x https://github.com/django/django/pull/3091
--
Ticket URL: <https://code.djangoproject.com/ticket/23302#comment:9>
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/066.1471ba910274c58b00bd5b7a0b787234%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.