X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/360d9d37f72b1c6e2edb83c3a0218e55578134f3..66f7c2655c3bbc544569b6b5111b50b14cb9336b:/src/wlxml/views.py 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',