Browse Source

Merge branch 'develop' into test

export_seznamu_prednasek
Jonas Havelka 3 years ago
parent
commit
14f2d15e20
  1. 2
      seminar/admin.py

2
seminar/admin.py

@ -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']

Loading…
Cancel
Save