Some fixes
This commit is contained in:
parent
40357c20b6
commit
47da9929cb
|
|
@ -24,7 +24,6 @@ class NewsDocument(Document):
|
||||||
country = fields.ObjectField(properties={'id': fields.IntegerField(),
|
country = fields.ObjectField(properties={'id': fields.IntegerField(),
|
||||||
'code': fields.KeywordField()})
|
'code': fields.KeywordField()})
|
||||||
web_url = fields.KeywordField(attr='web_url')
|
web_url = fields.KeywordField(attr='web_url')
|
||||||
preview_image_url = fields.TextField(attr='preview_image_url')
|
|
||||||
tags = fields.ObjectField(
|
tags = fields.ObjectField(
|
||||||
properties={
|
properties={
|
||||||
'id': fields.IntegerField(attr='id'),
|
'id': fields.IntegerField(attr='id'),
|
||||||
|
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
# Generated by Django 2.2.4 on 2019-10-21 11:38
|
|
||||||
|
|
||||||
from django.db import migrations
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('tag', '0003_auto_20191018_0758'),
|
|
||||||
('tag', '0003_tag_priority'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
]
|
|
||||||
Loading…
Reference in New Issue
Block a user