WTF (fix admin soustředění)
This commit is contained in:
parent
7a4213a61e
commit
c55fbb9dca
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue