Comments (8)
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.
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.
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.
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.
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.
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.
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.
Tried this new release - everything seems to work well so far. Thanks for all the hard work!
from django-sortedm2m.
Related Issues (20)
- German translation missing in pypi package HOT 3
- 3.0.1 seems to brake drag&drop ordering HOT 3
- Popup for creating new entity for relational field is not closing due to js error HOT 3
- Drag'n'drop sorting with select2 autocomplete widget
- SortedManyToManyField. Getting an error HOT 4
- JS error on latest master HOT 9
- Pytest error HOT 1
- [feature] Allow overriding/customizing widget
- Replace Travis HOT 1
- Use drag and drop in custom form? HOT 3
- Can't load SortedManyToManyField
- Error when using "through" intermediate model HOT 3
- New release with support for django 3.2 HOT 6
- Django SortedManyToManyField does not save order in reverse relation
- Can not use django migrations to rename field. HOT 3
- issue running Tox/tests
- Drag and drop is not working in StackInline admin HOT 1
- The module recreates the rows of the intermediate table HOT 1
- Broke in Django 5.0? HOT 7
- ManyToManyRel.is_hidden() is removed in latest tip version of Django, causing error in sortedm2m
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-sortedm2m.