From a130be69b9779c17c7b5d22386724e47b7cd31d7 Mon Sep 17 00:00:00 2001 From: Yoan Le Clanche Date: Mon, 12 Feb 2024 17:19:54 +0100 Subject: [PATCH] Add quota to admin user --- teleforma/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', -- 2.39.5