Merge branch 'develop' into test
This commit is contained in:
commit
14f2d15e20
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue