Web M&M
https://mam.matfyz.cz
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1005 B
30 lines
1005 B
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
import importlib
|
|
|
|
from django.db import models, migrations
|
|
|
|
migration_0022 = importlib.import_module('seminar.migrations.0002_add_body_views')
|
|
print dir(migration_0022)
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('seminar', '0021_cislo_verejna_vysledkovka'),
|
|
]
|
|
operations = [
|
|
migrations.RunSQL(migration_0022.DROP_VIEWS),
|
|
migrations.AlterField(
|
|
model_name='problem',
|
|
name='body',
|
|
field=models.DecimalField(null=True, verbose_name='maximum bod\u016f', max_digits=8, decimal_places=1, blank=True),
|
|
preserve_default=True,
|
|
),
|
|
migrations.AlterField(
|
|
model_name='reseni',
|
|
name='body',
|
|
field=models.DecimalField(null=True, verbose_name='body', max_digits=8, decimal_places=1, blank=True),
|
|
preserve_default=True,
|
|
),
|
|
migrations.RunSQL(migration_0022.CREATE_VIEWS),
|
|
]
|
|
|