Modify

Ticket #825 (new enhancement)

Opened 3 years ago

Last modified 3 years ago

--edit flag to schemamigration/datamigration

Reported by: matt@… Owned by: andrew
Priority: minor Milestone: The Future
Component: commands Version: 0.7.3
Keywords: Cc:

Description

I find that lots of the time I need to edit a migration file after it has been created.

I propose a patch to these two commands that allows for an '--edit' option, that will open the created file in '$EDITOR' after creating it.

I have a preliminary patch for schemamigration attached.

Attachments

south.diff (1.9 KB) - added by matt@… 3 years ago.
Patch to allow for '--edit' flag on schemamigration command.

Change History

Changed 3 years ago by matt@…

Patch to allow for '--edit' flag on schemamigration command.

comment:1 Changed 3 years ago by andrew

  • Version changed from unknown to 0.7.3
  • Milestone set to The Future

Yep, I like this idea. The patch should probably deal with the case where there's no EDITOR env var, though - perhaps a nice error?

View

Add a comment

Modify Ticket

Action
as new
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.