1👍
we handle this issue by defining an index field with an integer type that is like a point for any object, after that with use of Meta class in model class, the object’s ordered with this field
Class UModel(models.Model):
.
.
index = models.IntegerField()
class Meta:
ordering = ('-index',)
Source:stackexchange.com