[Django] #25063: makemigrations: display full path of migrations file

15 views
Skip to first unread message

Django

unread,
Jul 5, 2015, 12:32:14 PM7/5/15
to django-...@googlegroups.com
#25063: makemigrations: display full path of migrations file
-----------------------------+--------------------
Reporter: blueyed | Owner: nobody
Type: New feature | Status: new
Component: Migrations | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+--------------------
It is useful for easy viewing and editing of the created migrations to
have the whole path referenced.

This is especially true when migrations are (accidentally) created for 3rd
party apps, somewhere in your Python path (where the file might be harder
to find).

I can see that this might become quite wide, so maybe it could be
displayed relative to the current working directory then by default, but
uses the absolute path with verbosity >= 1.

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

Django

unread,
Jul 6, 2015, 9:11:34 AM7/6/15
to django-...@googlegroups.com
#25063: makemigrations: display full path of migrations file
-----------------------------+------------------------------------

Reporter: blueyed | Owner: nobody
Type: New feature | Status: new
Component: Migrations | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

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

* needs_better_patch: => 0
* version: 1.8 => master
* needs_docs: => 0
* needs_tests: => 0
* stage: Unreviewed => Accepted


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

Django

unread,
Nov 7, 2015, 7:59:41 AM11/7/15
to django-...@googlegroups.com
#25063: makemigrations: display full path of migrations file
-----------------------------+---------------------------------------
Reporter: blueyed | Owner: nielsvanoch
Type: New feature | Status: assigned

Component: Migrations | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

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

* status: new => assigned
* owner: nobody => nielsvanoch


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

Django

unread,
Nov 7, 2015, 8:45:50 AM11/7/15
to django-...@googlegroups.com
#25063: makemigrations: display full path of migrations file
-----------------------------+---------------------------------------
Reporter: blueyed | Owner: nielsvanoch
Type: New feature | Status: assigned
Component: Migrations | Version: master
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 nielsvanoch):

* has_patch: 0 => 1


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

Django

unread,
Nov 7, 2015, 8:47:14 AM11/7/15
to django-...@googlegroups.com
#25063: makemigrations: display full path of migrations file
-----------------------------+---------------------------------------
Reporter: blueyed | Owner: nielsvanoch
Type: New feature | Status: assigned
Component: Migrations | Version: master
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 nielsvanoch):

* Attachment "output_path_to_migration.diff" added.

Django

unread,
Nov 12, 2015, 7:54:54 PM11/12/15
to django-...@googlegroups.com
#25063: makemigrations: display full path of migrations file
-----------------------------+---------------------------------------
Reporter: blueyed | Owner: nielsvanoch
Type: New feature | Status: assigned
Component: Migrations | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0

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

* needs_tests: 0 => 1


Comment:

[https://github.com/django/django/pull/5582 PR] needs tests. (By the way,
there is no need to attach a patch in Trac and send a PR.)

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

Django

unread,
Nov 14, 2015, 7:50:28 AM11/14/15
to django-...@googlegroups.com
#25063: makemigrations: display full path of migrations file
-----------------------------+---------------------------------------
Reporter: blueyed | Owner: nielsvanoch
Type: New feature | Status: assigned
Component: Migrations | Version: master
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 timgraham):

* needs_tests: 1 => 0


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

Django

unread,
Dec 18, 2015, 11:21:20 AM12/18/15
to django-...@googlegroups.com
#25063: makemigrations: display full path of migrations file
-----------------------------+---------------------------------------
Reporter: blueyed | Owner: nielsvanoch
Type: New feature | Status: closed
Component: Migrations | Version: master
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: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"99a1265a394cb50f5b5aa9046f7b6cd230bc25cf" 99a1265a]:
{{{
#!CommitTicketReference repository=""
revision="99a1265a394cb50f5b5aa9046f7b6cd230bc25cf"
Fixed #25063 -- Added path to makemigration's output of migration file.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/25063#comment:6>

Reply all
Reply to author
Forward
0 new messages