Comments (5)
what do you mean by "when actions = none the sorting bar gets really long and sorting only works once."?
did you try to preorder the items using the management command?
from django-admin-sortable2.
When you add the option: actions = None to an adminview you disable the select box.
When the select box is disabled you get this effect:
from django-admin-sortable2.
ah, interesting!
Is this django-1.8 or 1.9. In 1.9 the css for admin changed a lot.
from django-admin-sortable2.
1.9.
Also changing items doesn't work right with the select box disabled.
Example:
When i change item one to position 3 it works fine.
But if i try to change the item again from position 3 to 5 it fails.
This is because the JS thinks the item still has position 1 and not 3.
Im not getting any JS errors but something is failing i suppose.
For now ill just enable the checkboxes, great plugin!
from django-admin-sortable2.
Fixed in 0.6.4
from django-admin-sortable2.
Related Issues (20)
- Is there a reason the one-to-many case isn't documented? HOT 1
- Unexpected Keyword Argument 'default_order_direction' HOT 1
- How to use SortableAdminMixin together with ImportExportModelAdmin from django-import-export? HOT 11
- DAS2 v2.x appears to assume fields are in Mutable Containers HOT 1
- Signal for Model is not Triggered when Item is Dragged HOT 3
- missing template(s) for Django 4.2 HOT 3
- No handle
- Newer order values voilates the field rule of PositiveIntegerField HOT 11
- Incorrect code example in documentation (Sec. "Many-to-Many Relations")
- Don't install testapp and its child modules HOT 8
- adminsortable2 - TemplateNotFound HOT 2
- Make *only* inlines sortable and not the base model admin?!? HOT 2
- 2.1.9 version inconsistent?
- RecursionError: maximum recursion depth exceeded while calling a Python object HOT 1
- Unable to see sort column (no pads) v2.1.9 HOT 3
- Admin UI does not get added HOT 1
- Question about default value of order field HOT 4
- small typo + latest docs are not deployed? HOT 2
- What about supporting Python 3.11 and 3.12? HOT 2
- Why not adapt for django 3.2? HOT 6
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-admin-sortable2.