Opened 3 years ago

Closed 2 years ago

Last modified 2 years ago

#22511 closed Cleanup/optimization (fixed)

Usage help of makemigrations command missing argument for app

Reported by: bruno.devpod@… Owned by: nobody
Component: Migrations Version: 1.7-beta-2
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


The makemigrations command usage help shoud show:

Usage: makemigrations [options] [app_label]

Instead of:

Usage: makemigrations [options]

As pointed in documentation:

If your app already has models and database tables, and doesn’t have migrations yet (for example, you created it against a previous Django version), you’ll need to convert it to use migrations; this is a simple process:

$ python makemigrations your_app_label

Change History (5)

comment:1 Changed 3 years ago by bruno.devpod

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: fixed
Status: newclosed

Hi, I did a pull request to fix this ticket:

comment:2 Changed 3 years ago by Tim Graham

Has patch: set
Resolution: fixed
Status: closednew
Triage Stage: UnreviewedAccepted

A ticket isn't marked fixed until it's committed, see triaging tickets.

comment:3 Changed 3 years ago by bruno.devpod

I'm sorry, it's my first time contributing, I'll try to read more of the documentation on contributing before doing something else. Thanks!

comment:4 Changed 2 years ago by Tim Graham <timograham@…>

Resolution: fixed
Status: newclosed

In 83413c53d20859eaa2f1ffe73d119c9be6f74787:

Fixed #22511 -- Added args to migrations management commands.

comment:5 Changed 2 years ago by Tim Graham <timograham@…>

In 72493b1b7c43ffdcb3f2ce2d0f055ebb49485f4b:

[1.7.x] Fixed #22511 -- Added args to migrations management commands.

Backport of 83413c53d2 from master

Note: See TracTickets for help on using tickets.
Back to Top