Merge branch 'develop' into test

This commit is contained in:
Jonas Havelka 2021-11-15 20:41:39 +01:00
commit 14f2d15e20

View file

@ -135,7 +135,7 @@ class OsobaInline(admin.TabularInline):
model = m.Osoba
@admin.register(m.Organizator)
class OrganizatorAdmin(admin.ModelAdmin):
class OrganizatorAdmin(ReverseModelAdmin):
search_fields = ['osoba__jmeno', 'osoba__prijmeni', 'osoba__prezdivka']
inline_type = 'stacked'
inline_reverse = ['osoba']