Add lookup for categories

This commit is contained in:
Kuroshini 2019-10-16 20:56:56 +03:00
parent 9fc4a8703c
commit 40f1cc1e22
2 changed files with 4 additions and 1 deletions

View File

@ -111,6 +111,9 @@ class EstablishmentDocumentViewSet(BaseDocumentViewSet):
},
'tags_category_id': {
'field': 'tags.category.id',
'lookups': [
constants.LOOKUP_QUERY_IN,
],
},
'collection_type': {
'field': 'collections.collection_type'

View File

@ -6,5 +6,5 @@ from timetable import views
app_name = 'timetable'
urlpatterns = [
path('', views.TimetableListView.as_view(), name='list')
# path('', views.TimetableListView.as_view(), name='list')
]