Na výběr orgů pro PDF chceme autocomplete
This commit is contained in:
parent
d895cd0636
commit
8a5659420d
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ class KorekturovanePDFAdmin(VersionAdmin):
|
||||||
list_display = ['nazev', 'cas', 'stran']
|
list_display = ['nazev', 'cas', 'stran']
|
||||||
list_filter = []
|
list_filter = []
|
||||||
search_fields = []
|
search_fields = []
|
||||||
filter_horizontal = ['orgove']
|
autocomplete_fields = ['orgove']
|
||||||
|
|
||||||
def save_model(self, request, obj, form, change):
|
def save_model(self, request, obj, form, change):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in a new issue