mamweb/korektury/migrations/0013_rename_autor_org.py
Bc. Petr Pecha 7aa5f72e7d korektury | prejmenovani autor_org zpet na autor
Migrace autora z CharField na odkaz na Organizator

Prejmenovani autor_org zpet na autor
Oprava i Komentar maji zase jenom polozku autor,
ktera ukazuje na Organizatora
2016-08-25 09:18:00 +02:00

24 lines
527 B
Python

# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('korektury', '0012_delete_autor'),
]
operations = [
migrations.RenameField(
model_name='komentar',
old_name='autor_org',
new_name='autor',
),
migrations.RenameField(
model_name='oprava',
old_name='autor_org',
new_name='autor',
),
]