Browse Source
Migrace autora z CharField na odkaz na Organizator Vytvoreni nove polozky, ktera odkazuje primo na Organizatorremotes/origin/korekturovatko_emaily
Bc. Petr Pecha
8 years ago
2 changed files with 33 additions and 3 deletions
@ -0,0 +1,25 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('seminar', '0041_konfery'), |
|||
('korektury', '0009_trizeni_korektur_v_seznamu'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AddField( |
|||
model_name='komentar', |
|||
name='autor_org', |
|||
field=models.ForeignKey(blank=True, to='seminar.Organizator', help_text='Autor koment\xe1\u0159e', null=True), |
|||
), |
|||
migrations.AddField( |
|||
model_name='oprava', |
|||
name='autor_org', |
|||
field=models.ForeignKey(blank=True, to='seminar.Organizator', help_text=b'Autor opravy', null=True), |
|||
), |
|||
] |
Loading…
Reference in new issue