Джанго административный заказ
# Sort an Admin model by specific fields
class yourModel(admin.ModelAdmin):
ordering = ('yourColumn', '-yourColumnReverse',)
Trained Tuna
# Sort an Admin model by specific fields
class yourModel(admin.ModelAdmin):
ordering = ('yourColumn', '-yourColumnReverse',)