Opened 3 years ago
Closed 3 years ago
#34295 closed New feature (wontfix)
Add makemigrations flag that just uses timestamp
| Reported by: | Andrew Chen Wang | Owned by: | nobody |
|---|---|---|---|
| Component: | Core (Management commands) | Version: | 4.1 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
Currently, when running makemigrations, a verbose name is used instead of an auto_timestamp name when the verbose name is 47 characters or less in length. I would like to add an option to force the autogeneration of the name to use the timestamp or the verbose name, regardless of the rule.
Note:
See TracTickets
for help on using tickets.
Thanks for the ticket, however, I don't think we need another option for the
makemigrationscommand. This seems quite niche and currently achievable without a new option e.g.