Seems to be working out well.
I got a grid view up. Draggable sorting using jQuery UI, which updates the
_order field (Orderable). It's very user friendly. The only thing I am
having trouble the number of update queries showing in the Django Debug
Tool Bar.
When I re-sort in the admin inline
Cool! Glad you've enjoyed it so far. Hope it all works out.
On Sep 15, 2017 10:30 AM, "Matt Mansour" wrote:
> That said, just want to put out there that Mezzanine has really helped a
> lot for this project. For example, another requirement is deep
> categorization. It's nice to see how Mezzanin
That said, just want to put out there that Mezzanine has really helped a
lot for this project. For example, another requirement is deep
categorization. It's nice to see how Mezzanine handles that easily without
tons of database queries.
Overall loving Mezzanine. This is just one of those time
In this case I have to find a solution. The editors are not happy. Makes
sense. These are galleries of homes and locations. Some locations have 100
+ photos. Editors need to be able to quickly order and group a gallery
however they wish. They have a few thousand galleries to create.
A gallery
No problem :)
I wouldn't worry much about ordering if you're expecting to manage tens
of items. In my mind, manual ordering only makes sense when the amount
of items is manageable and you want to make sure some appear first. For
something like this "newest first" works fine IMO.
On 2017-09-1
Thanks for the quick reply. My objective was the lazy approach and your
quick reply was faster than me trying it. I'll continue using jQuery ui /
sortable.
I wish creating a grid view for inlines was a relatively easy job. But I
don't have time for tackle that one. I am sure some would find a
I don't think so. The Orderable abstract model is designed for inlines
only, and the {% editable %} template tag doesn't support that.
On 2017-09-15 9:55 AM, Matt Mansour wrote:
Hi All -
I am looking to create a page of images that are both sortable and in
a grid format - instead of each imag
Hi All -
I am looking to create a page of images that are both sortable and in a
grid format - instead of each image stacked in rows like in the admin
inlines.
I am digging into jQuery's sortable and breaking apart how it's used in
Mezzanine. I am making progress but I am curious if I could a