From 37d73a311fbadee27c5421a08e8d255f8ec37e61 Mon Sep 17 00:00:00 2001 From: Jonas Havelka Date: Wed, 4 Aug 2021 19:25:46 +0200 Subject: [PATCH] =?UTF-8?q?view=5Fon=5Fsite=20=3D=20False=20u=20Organiz?= =?UTF-8?q?=C3=A1tora=20a=20=C5=98e=C5=A1itele?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- seminar/admin.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/seminar/admin.py b/seminar/admin.py index 3a12fb09..4b24a616 100644 --- a/seminar/admin.py +++ b/seminar/admin.py @@ -108,11 +108,13 @@ class OsobaAdmin(admin.ModelAdmin): @admin.register(m.Organizator) class OrganizatorAdmin(admin.ModelAdmin): search_fields = ['osoba__jmeno', 'osoba__prijmeni', 'osoba__prezdivka'] + view_on_site = False @admin.register(m.Resitel) class ResitelAdmin(admin.ModelAdmin): search_fields = ['osoba__jmeno', 'osoba__prijmeni', 'osoba__prezdivka'] ordering = ('osoba__jmeno','osoba__prijmeni') + view_on_site = False @admin.register(m.Problem) class ProblemAdmin(PolymorphicParentModelAdmin):