Add lookup for categories
This commit is contained in:
parent
9fc4a8703c
commit
40f1cc1e22
|
|
@ -111,6 +111,9 @@ class EstablishmentDocumentViewSet(BaseDocumentViewSet):
|
||||||
},
|
},
|
||||||
'tags_category_id': {
|
'tags_category_id': {
|
||||||
'field': 'tags.category.id',
|
'field': 'tags.category.id',
|
||||||
|
'lookups': [
|
||||||
|
constants.LOOKUP_QUERY_IN,
|
||||||
|
],
|
||||||
},
|
},
|
||||||
'collection_type': {
|
'collection_type': {
|
||||||
'field': 'collections.collection_type'
|
'field': 'collections.collection_type'
|
||||||
|
|
|
||||||
|
|
@ -6,5 +6,5 @@ from timetable import views
|
||||||
app_name = 'timetable'
|
app_name = 'timetable'
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path('', views.TimetableListView.as_view(), name='list')
|
# path('', views.TimetableListView.as_view(), name='list')
|
||||||
]
|
]
|
||||||
Loading…
Reference in New Issue
Block a user