#30228: DeleteModel migration's name argument is supposed to be lowercase
-------------------------------------+-------------------------------------
Reporter: | Owner: nobody
JerzySpendel |
Type: | Status: new
Uncategorized |
Component: | Version: 2.1
Migrations | Keywords: DeleteModel
Severity: Normal | migration
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
In every other migration: `CreateModel`, `AlterModelTable`,
`AlterModelOptions`, `RenameField` and so on, the first argument is
supposed to be the name of a model, so if model's name is `ExampleModel`,
then the first argument is supposed to be `ExampleModel`, EXCEPT
`DeleteModel` where it should be in lower case, so `examplemodel`. If it
really has to be like this, then the documentation should at least mention
about that. It took me some time, to figure that out.
--
Ticket URL: <https://code.djangoproject.com/ticket/30228>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.