]> git.parisson.com Git - teleforma.git/commitdiff
Add quota to admin user
authorYoan Le Clanche <yoanl@pilotsystems.net>
Mon, 12 Feb 2024 16:19:54 +0000 (17:19 +0100)
committerYoan Le Clanche <yoanl@pilotsystems.net>
Mon, 12 Feb 2024 16:19:54 +0000 (17:19 +0100)
teleforma/admin.py

index b4a02297346b2136f8e04c0edc057e172d533048..41ed60e1fb3b09797c5947e12016ed354fc0b250 100644 (file)
@@ -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',