]> git.parisson.com Git - teleforma.git/commitdiff
Improve admin user page performance
authorYoan Le Clanche <yoanl@pilotsystems.net>
Tue, 15 Oct 2024 11:43:50 +0000 (13:43 +0200)
committerYoan Le Clanche <yoanl@pilotsystems.net>
Tue, 15 Oct 2024 11:43:50 +0000 (13:43 +0200)
teleforma/admin.py

index ae0df5cb96621f40c487bea5a8bd7de7eeb49959..4c2baac1e46aabc5c77a6db0978a3e4a3be17db2 100644 (file)
@@ -23,6 +23,7 @@ class AEStudentProfileInline(admin.StackedInline):
 class AuditorProfileInline(admin.StackedInline):
     model = Auditor
     # filter_vertical = ['seminars', 'conferences']
+    autocomplete_fields = ['seminars', 'conferences']
 
     class Media:
         css = { 'all': ('admin/extra.css',) }