Skip to content

Commit 078120f

Browse files
authored
feat(admin): Reorganize inlines in user admin (#8130)
This moves the order to be roughly: - Profile - Memberships - API - User stuff - Donations (obsolete)
1 parent 26e9888 commit 078120f

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

‎cl/users/admin.py‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,17 +84,17 @@ class UserAdmin(admin.ModelAdmin, AdminTweaksMixin):
8484
readonly_fields = ("api_calls_count",)
8585
inlines = (
8686
UserProfileInline,
87-
DonationInline,
88-
MonthlyDonationInline,
89-
PrayerInline,
87+
NeonMembershipInline,
88+
APIThrottleInline,
89+
TokenInline,
90+
WebhookInline,
9091
AlertInline,
9192
DocketAlertInline,
9293
NoteInline,
94+
PrayerInline,
9395
UserTagInline,
94-
NeonMembershipInline,
95-
TokenInline,
96-
WebhookInline,
97-
APIThrottleInline,
96+
DonationInline,
97+
MonthlyDonationInline,
9898
)
9999
list_display = (
100100
"username",

0 commit comments

Comments
 (0)