update tag on document index
This commit is contained in:
parent
bde81b3700
commit
3a54b70093
|
|
@ -44,8 +44,6 @@ class EstablishmentDocument(Document):
|
||||||
'id': fields.IntegerField(attr='id'),
|
'id': fields.IntegerField(attr='id'),
|
||||||
'label': fields.ObjectField(attr='label_indexing',
|
'label': fields.ObjectField(attr='label_indexing',
|
||||||
properties=OBJECT_FIELD_PROPERTIES),
|
properties=OBJECT_FIELD_PROPERTIES),
|
||||||
'category': fields.ObjectField(attr='category',
|
|
||||||
properties={'id': fields.IntegerField()})
|
|
||||||
},
|
},
|
||||||
multi=True)
|
multi=True)
|
||||||
address = fields.ObjectField(
|
address = fields.ObjectField(
|
||||||
|
|
|
||||||
|
|
@ -29,8 +29,6 @@ class NewsDocument(Document):
|
||||||
'id': fields.IntegerField(attr='id'),
|
'id': fields.IntegerField(attr='id'),
|
||||||
'label': fields.ObjectField(attr='label_indexing',
|
'label': fields.ObjectField(attr='label_indexing',
|
||||||
properties=OBJECT_FIELD_PROPERTIES),
|
properties=OBJECT_FIELD_PROPERTIES),
|
||||||
'category': fields.ObjectField(attr='category',
|
|
||||||
properties={'id': fields.IntegerField()})
|
|
||||||
},
|
},
|
||||||
multi=True)
|
multi=True)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user