jpwatts / django-positions

A Django field for custom model ordering.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spacing of 10 between positions

sam-ghosh opened this issue · comments

commented

If I have always maintain the position integerfield at multiples of 10, so 10, 20, 30 instead of 1, 2, 3 - where all should I do the changes?

this is useful for me, as sometimes I might have to make item at position 990 between 100 and 110 - and dragging them is more complex. Easier solution is to make it from 99 to 105 - and then normalize again by making them all increments of 10 again