blob: 9d339b20e86b21aa8d2f209459464a38da9e5839 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# -*- coding: utf-8 -*-
# Generated by Django 1.11.10 on 2019-01-18 17:51
from __future__ import unicode_literals
from django.db import migrations
def gen_index(apps, schema_editor):
from ishtar_common.models import Document
for doc in Document.objects.all():
doc.save()
class Migration(migrations.Migration):
dependencies = [
('ishtar_common', '0082_auto_20190118_1203'),
]
operations = [
migrations.RunPython(gen_index)
]
|