#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.

-- 
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/055.db690bcea7dfb06087b19698e59dbba7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to