Opened 9 years ago

Closed 9 years ago

#25063 closed New feature (fixed)

makemigrations: display full path of migrations file

Reported by: Daniel Hahler Owned by: Niels Van Och
Component: Migrations Version: dev
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

Description

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.

Attachments (1)

output_path_to_migration.diff (1.1 KB ) - added by Niels Van Och 9 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by Tim Graham, 9 years ago

Triage Stage: UnreviewedAccepted
Version: 1.8master

comment:2 by Niels Van Och, 9 years ago

Owner: changed from nobody to Niels Van Och
Status: newassigned

comment:3 by Niels Van Och, 9 years ago

Has patch: set

by Niels Van Och, 9 years ago

comment:4 by Tim Graham, 9 years ago

Needs tests: set

PR needs tests. (By the way, there is no need to attach a patch in Trac and send a PR.)

comment:5 by Tim Graham, 9 years ago

Needs tests: unset

comment:6 by Tim Graham <timograham@…>, 9 years ago

Resolution: fixed
Status: assignedclosed

In 99a1265a:

Fixed #25063 -- Added path to makemigration's output of migration file.

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