From: Yoan Le Clanche Date: Mon, 12 Feb 2024 16:19:54 +0000 (+0100) Subject: Add quota to admin user X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=a130be69b9779c17c7b5d22386724e47b7cd31d7;p=teleforma.git Add quota to admin user --- diff --git a/teleforma/admin.py b/teleforma/admin.py index b4a02297..41ed60e1 100644 --- a/teleforma/admin.py +++ b/teleforma/admin.py @@ -264,7 +264,7 @@ class ProfileInline(admin.StackedInline): class UserProfileAdmin(UserAdmin): - inlines = [ProfileInline, StudentInline, ProfessorProfileInline] + inlines = [ProfileInline, StudentInline, ProfessorProfileInline, QuotaInline] search_fields = ['username', 'email'] list_display = UserAdmin.list_display + ( 'user_actions',