Hi all, Support for migrations using either South + Django<1.7, or Django 1.7's migrations has just been merged in thanks to Baylee Feore.
It works as follows: - Each app.migrations package now houses a single new initial migration for Django 1.7 - Each app now houses its old south migrations under the app.migrations.south package - In mezzanine.utils.conf.set_dynamic_settings (called at the end of a project's settings.py module), for South + Django<1.7 we configure the SOUTH_MIGRATION_MODULES setting to point to the new custom migration packages per app: http://south.readthedocs.org/en/latest/settings.html#south-migration-modules This is a final call for help in testing Mezzanine and Cartridge against Django 1.7 before new official releases get pushed out supporting it, thanks a lot! On Sat, Sep 6, 2014 at 4:05 PM, Stephen McDonald <[email protected]> wrote: > Would love some concrete guidance on this if anyone can work out exactly > what needs to happen. It sounds like all that's left to do for 1.7 > support is to move all our south migrations into different directories and > create new 1.7 style initial migrations, but I've not had the time to work > this out properly. > > If anyone could work this out definitively and create a pull request, > you'd really be helping out. > > > On Thu, Sep 4, 2014 at 6:42 AM, Tom Lockhart <[email protected]> > wrote: > >> >> On 2014-09-03, at 8:24 AM, Eduardo Rivas <[email protected]> wrote: >> >> > Just noticed Django supports having both types of migrations coexist. >> Apparently all that needs to be done is renaming migrations to >> south_migrations. >> https://docs.djangoproject.com/en/1.7/topics/migrations/#libraries-third-party-apps >> >> Yup. Just heard a talk on this from Andrew Godwin at DjangoCon here in >> Portland. Native migrations will re-use the migrations/ directory and if >> you want to maintain a South history then move previous migrations over to >> south_migrations/. Though once you are at 1.7 I'm not sure why you would >> need to go back; Andrew indicated that most of the code for migrations is >> new but they have been testing and bugfixing for several months already. >> >> hth >> >> - Tom >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Mezzanine Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Stephen McDonald > http://jupo.org > -- Stephen McDonald http://jupo.org -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
