Added news filter (by country).
This commit is contained in:
parent
06f5a551b8
commit
346f126dbb
|
|
@ -46,6 +46,12 @@ class NewsDocumentViewSet(BaseDocumentViewSet):
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
'slug': 'slug',
|
'slug': 'slug',
|
||||||
|
'country_id': {
|
||||||
|
'field': 'country.id'
|
||||||
|
},
|
||||||
|
'country': {
|
||||||
|
'field': 'country.code'
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user