Browse Source

WTF (fix admin soustředění)

pull/46/head
Jonas Havelka 1 year ago
parent
commit
c55fbb9dca
  1. 2
      soustredeni/admin.py

2
soustredeni/admin.py

@ -25,7 +25,7 @@ class SoustredeniOrganizatoriInline(admin.TabularInline):
extra = 1 extra = 1
fields = ['organizator','poznamka'] fields = ['organizator','poznamka']
autocomplete_fields = ['organizator'] autocomplete_fields = ['organizator']
ordering = ['organizator__osoba__jmeno','organizator__prijmeni'] ordering = ['organizator__osoba__jmeno','organizator__osoba__prijmeni']
formfield_overrides = { formfield_overrides = {
models.TextField: {'widget': widgets.TextInput} models.TextField: {'widget': widgets.TextInput}
} }

Loading…
Cancel
Save