#30031: Add makemigrations/squashmigrations options to suppress version/date in
migration header comment
-------------------------------------+-------------------------------------
Reporter: Dakota | Owner: nobody
Hawkins |
Type: | Status: new
Cleanup/optimization |
Component: Core | Version: master
(Management commands) | Keywords: migrations,
Severity: Normal | makemigrations
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
From discussion around the [https://github.com/django/django/pull/10741
PR] for [https://code.djangoproject.com/ticket/30029 #32009]
A new `makemigrations`/`squashmigrations` option `--no-header` should
prevent the Django version and date from being written to migration file
header comments.
This will prevent unnecessary VCS churn in cases where that information
isn't required and will help to make migration files more deterministic.
--
Ticket URL: <https://code.djangoproject.com/ticket/30031>
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/056.0a1e14df6f396380ab497af5099221f1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.