fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix after upgrading django-filter.
[redakcja.git]
/
src
/
wlxml
/
views.py
diff --git
a/src/wlxml/views.py
b/src/wlxml/views.py
index
281ced5
..
edf8a92
100644
(file)
--- a/
src/wlxml/views.py
+++ b/
src/wlxml/views.py
@@
-48,7
+48,7
@@
class TagView(DetailView):
VALUE_TYPES = {
LegimiCategory: {
'widget': 'select',
VALUE_TYPES = {
LegimiCategory: {
'widget': 'select',
- 'options': list(legimi.CATEGORIES.keys()),
+ 'options':
[''] +
list(legimi.CATEGORIES.keys()),
},
Epoch: {
'autocomplete': {
},
Epoch: {
'autocomplete': {
@@
-104,6
+104,7
@@
VALUE_TYPES = {
"language": {
'widget': 'select',
'options': [
"language": {
'widget': 'select',
'options': [
+ '',
'pol',
'eng',
'fre',
'pol',
'eng',
'fre',