Giter VIP home page Giter VIP logo

Comments (8)

brez avatar brez commented on June 29, 2024

I'm updating for 1.7 at the moment; issue is Django does this sort of dynamic manager creation for m2m relationships instead of using an interface hierarchy for some reason, and it looks like sortedm2m had no choice but to monkey patch around it. Of course the perils of monkey patching is that you're not using the API and have to update with each release.

from django-sortedm2m.

brez avatar brez commented on June 29, 2024

I guess there's a larger architectural decision about supporting South moving forward as well.. is it redundant now in favor of the native in 1.7, etc? @gregmuellegger you got any thoughts on that?

from django-sortedm2m.

gregmuellegger avatar gregmuellegger commented on June 29, 2024

I created a django1.7 branch that we can use for further development.

The first change was to break out the south support tests. They are only run now for Django 1.6
The plan is to only support south for django 1.6 and below.
From django 1.7 on, we only support the django migrations framework.

The next change was to try to make the tests work with django 1.7. I had partial success in not failing with an error, but the tests are still failing, because the order of the sortedm2m relation is not kept... I need to have another look at some point to find the reason for this.

Or if someone else wants to give it a shot, feel free :)

from django-sortedm2m.

gregmuellegger avatar gregmuellegger commented on June 29, 2024

Ok the branch passes all tests now for Django 1.5, 1.6 and 1.7.
However we still need support for the new migration framework.

from django-sortedm2m.

gregmuellegger avatar gregmuellegger commented on June 29, 2024

Migrations support is here. Hooray! \o/
Please checkout the current master and try to use and abuse it in any way you want and report back bugs you find along the way.

Cheers :)

from django-sortedm2m.

gregmuellegger avatar gregmuellegger commented on June 29, 2024

I just released 0.8.0: https://pypi.python.org/pypi/django-sortedm2m/0.8.0 which supports Django 1.7 and the new style migrations.

from django-sortedm2m.

brez avatar brez commented on June 29, 2024

Awesome - thanks! yea I got caught up in a release and never got around to adding support, thanks again, we'll be using it right away.

from django-sortedm2m.

richardbarran avatar richardbarran commented on June 29, 2024

Tried this new release - everything seems to work well so far. Thanks for all the hard work!

from django-sortedm2m.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.