X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/360d9d37f72b1c6e2edb83c3a0218e55578134f3..94e92455b60f276f2a1a5b55de5e6b060687f396:/src/wlxml/views.py?ds=inline diff --git a/src/wlxml/views.py b/src/wlxml/views.py index 281ced5d..edf8a920 100644 --- a/src/wlxml/views.py +++ b/src/wlxml/views.py @@ -48,7 +48,7 @@ class TagView(DetailView): VALUE_TYPES = { LegimiCategory: { 'widget': 'select', - 'options': list(legimi.CATEGORIES.keys()), + 'options': [''] + list(legimi.CATEGORIES.keys()), }, Epoch: { 'autocomplete': { @@ -104,6 +104,7 @@ VALUE_TYPES = { "language": { 'widget': 'select', 'options': [ + '', 'pol', 'eng', 'fre',