parent
3ed593b96c
commit
b7db81918c
9 changed files with 292 additions and 103 deletions
@ -0,0 +1,16 @@ |
|||||||
|
# -*- coding: utf-8 -*- |
||||||
|
# Generated by Django 1.9.7 on 2016-08-15 08:24 |
||||||
|
from __future__ import unicode_literals |
||||||
|
|
||||||
|
from django.db import migrations |
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration): |
||||||
|
|
||||||
|
dependencies = [ |
||||||
|
('projects', '0005_auto_20160812_1931'), |
||||||
|
('projects', '0005_auto_20160812_1956'), |
||||||
|
] |
||||||
|
|
||||||
|
operations = [ |
||||||
|
] |
||||||
@ -0,0 +1,33 @@ |
|||||||
|
# -*- coding: utf-8 -*- |
||||||
|
# Generated by Django 1.9.7 on 2016-08-15 14:38 |
||||||
|
from __future__ import unicode_literals |
||||||
|
|
||||||
|
from django.db import migrations, models |
||||||
|
import django.db.models.deletion |
||||||
|
import django.utils.timezone |
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration): |
||||||
|
|
||||||
|
dependencies = [ |
||||||
|
('contenttypes', '0002_remove_content_type_name'), |
||||||
|
('projects', '0006_merge'), |
||||||
|
] |
||||||
|
|
||||||
|
operations = [ |
||||||
|
migrations.CreateModel( |
||||||
|
name='AnswerMessage', |
||||||
|
fields=[ |
||||||
|
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), |
||||||
|
('created', models.DateTimeField(default=django.utils.timezone.now)), |
||||||
|
('is_sender_customer', models.BooleanField(default=False)), |
||||||
|
('object_id', models.IntegerField()), |
||||||
|
('answer', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='messages', to='projects.Answer')), |
||||||
|
('content_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType')), |
||||||
|
], |
||||||
|
options={ |
||||||
|
'verbose_name_plural': 'Отклики на проекты -- переписки', |
||||||
|
'verbose_name': 'Отклики на проекты -- переписка', |
||||||
|
}, |
||||||
|
), |
||||||
|
] |
||||||
@ -0,0 +1,25 @@ |
|||||||
|
# -*- coding: utf-8 -*- |
||||||
|
# Generated by Django 1.9.7 on 2016-08-15 16:00 |
||||||
|
from __future__ import unicode_literals |
||||||
|
|
||||||
|
from django.db import migrations, models |
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration): |
||||||
|
|
||||||
|
dependencies = [ |
||||||
|
('projects', '0007_answermessage'), |
||||||
|
] |
||||||
|
|
||||||
|
operations = [ |
||||||
|
migrations.RemoveField( |
||||||
|
model_name='answer', |
||||||
|
name='text', |
||||||
|
), |
||||||
|
migrations.AddField( |
||||||
|
model_name='answermessage', |
||||||
|
name='text', |
||||||
|
field=models.TextField(default=''), |
||||||
|
preserve_default=False, |
||||||
|
), |
||||||
|
] |
||||||
Loading…
Reference in new issue