Skip to content

Commit

Permalink
feat: Add drag & drop sorting!
Browse files Browse the repository at this point in the history
  • Loading branch information
drikusroor committed Jul 16, 2024
1 parent c38e8a4 commit 4bdbc2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/theme/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
class SponsorImageInline(NestedTabularInline):
model = SponsorImage
extra = 1
sortable_field_name = 'index'
ordering = ['index']


Expand Down

0 comments on commit 4bdbc2a

Please sign in to comment.