The way i envision implementing this is by simply giving a different name
to uncommitted migrations so they can be put in .gitignore. It could be
done by adding a setting for configuring a custom string to add at the end
of newly created migrations.
Please anyone let me know if this is a bad idea or if there is a better
way to implement it.
Cheers
--
Ticket URL: <https://code.djangoproject.com/ticket/32387>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => wontfix
Comment:
Thanks for this proposition, however I don't see why you need a special
built-in workflow to do this. `makemigrations` already supports the
`--name` option, so you can name uncommitted migrations in a different way
and do this exactly as described. Most of this flow is outside of Django.
I don't see a reason to add a new option and especially encourage it.
--
Ticket URL: <https://code.djangoproject.com/ticket/32387#comment:1>