Pull requests

#142 Declined
Repository
schinckel schinckel
Branch
default
Repository
andrewgodwin andrewgodwin
Branch
default

Allow passing an '--edit' option to migration creation commands.

Author
  1. Matthew Schinckel
Reviewers
Description

I would find it useful to be able to open the newly created migration file after it has been generated.

This patch does that, for schemamigration and datamigration.

(I'm happy to work on a similar patch for the new django migration stuff, if you think it is worthwhile).

It's a pretty simple patch: I wasn't able to think of any tests (other than manual ones) that could be written for it.

Comments (1)

  1. Curtis Maloney

    This looks like a great time saver.

    Surely the possibility of someone not having their env set up right just means some people don't get to use this feature? Seems like a very big win for the majority of users, with a very minimal effort.