[Django] #22511: Usage help of makemigrations command missing argument for app

19 views
Skip to first unread message

Django

unread,
Apr 24, 2014, 3:58:42 PM4/24/14
to django-...@googlegroups.com
#22511: Usage help of makemigrations command missing argument for app
--------------------------------------+------------------------
Reporter: bruno.devpod@… | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Migrations | Version: 1.7-beta-2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------
The makemigrations command usage help shoud show:

Usage: manage.py makemigrations [options] [app_label]

Instead of:

Usage: manage.py 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 manage.py makemigrations your_app_label

--
Ticket URL: <https://code.djangoproject.com/ticket/22511>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Apr 25, 2014, 12:30:58 PM4/25/14
to django-...@googlegroups.com
#22511: Usage help of makemigrations command missing argument for app
-------------------------------------+-------------------------------------
Reporter: bruno.devpod@… | Owner: nobody
Type: | Status: closed
Cleanup/optimization | Version:
Component: Migrations | 1.7-beta-2
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage:
Has patch: 0 | Unreviewed
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by bruno.devpod):

* status: new => closed
* needs_better_patch: => 0
* resolution: => fixed
* needs_tests: => 0
* needs_docs: => 0


Comment:

Hi, I did a pull request to fix this ticket:
https://github.com/django/django/pull/2606

--
Ticket URL: <https://code.djangoproject.com/ticket/22511#comment:1>

Django

unread,
Apr 25, 2014, 1:03:25 PM4/25/14
to django-...@googlegroups.com
#22511: Usage help of makemigrations command missing argument for app
-------------------------------------+-------------------------------------
Reporter: bruno.devpod@… | Owner: nobody
Type: | Status: new

Cleanup/optimization | Version:
Component: Migrations | 1.7-beta-2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by timo):

* status: closed => new
* has_patch: 0 => 1
* resolution: fixed =>
* stage: Unreviewed => Accepted


Comment:

A ticket isn't marked fixed until it's committed, see
[https://docs.djangoproject.com/en/dev/internals/contributing/triaging-
tickets/ triaging tickets].

--
Ticket URL: <https://code.djangoproject.com/ticket/22511#comment:2>

Django

unread,
Apr 25, 2014, 1:15:22 PM4/25/14
to django-...@googlegroups.com
#22511: Usage help of makemigrations command missing argument for app
-------------------------------------+-------------------------------------
Reporter: bruno.devpod@… | Owner: nobody

Type: | Status: new
Cleanup/optimization | Version:
Component: Migrations | 1.7-beta-2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (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!

--
Ticket URL: <https://code.djangoproject.com/ticket/22511#comment:3>

Django

unread,
Apr 30, 2014, 7:20:38 AM4/30/14
to django-...@googlegroups.com
#22511: Usage help of makemigrations command missing argument for app
-------------------------------------+-------------------------------------
Reporter: bruno.devpod@… | Owner: nobody
Type: | Status: closed

Cleanup/optimization | Version:
Component: Migrations | 1.7-beta-2
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):

* status: new => closed

* resolution: => fixed


Comment:

In [changeset:"83413c53d20859eaa2f1ffe73d119c9be6f74787"]:
{{{
#!CommitTicketReference repository=""
revision="83413c53d20859eaa2f1ffe73d119c9be6f74787"
Fixed #22511 -- Added args to migrations management commands.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/22511#comment:4>

Django

unread,
Apr 30, 2014, 7:21:05 AM4/30/14
to django-...@googlegroups.com
#22511: Usage help of makemigrations command missing argument for app
-------------------------------------+-------------------------------------
Reporter: bruno.devpod@… | Owner: nobody

Type: | Status: closed
Cleanup/optimization | Version:
Component: Migrations | 1.7-beta-2
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"72493b1b7c43ffdcb3f2ce2d0f055ebb49485f4b"]:
{{{
#!CommitTicketReference repository=""
revision="72493b1b7c43ffdcb3f2ce2d0f055ebb49485f4b"
[1.7.x] Fixed #22511 -- Added args to migrations management commands.

Backport of 83413c53d2 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/22511#comment:5>

Reply all
Reply to author
Forward
0 new messages