parent
8d5d51b810
commit
4792728ca8
11 changed files with 142 additions and 46 deletions
@ -0,0 +1,20 @@ |
||||
# -*- coding: utf-8 -*- |
||||
# Generated by Django 1.9.6 on 2016-06-10 11:16 |
||||
from __future__ import unicode_literals |
||||
|
||||
from django.db import migrations, models |
||||
|
||||
|
||||
class Migration(migrations.Migration): |
||||
|
||||
dependencies = [ |
||||
('projects', '0028_auto_20160610_1301'), |
||||
] |
||||
|
||||
operations = [ |
||||
migrations.AddField( |
||||
model_name='project', |
||||
name='active', |
||||
field=models.BooleanField(default=True), |
||||
), |
||||
] |
||||
@ -0,0 +1,30 @@ |
||||
# -*- coding: utf-8 -*- |
||||
# Generated by Django 1.9.6 on 2016-06-10 11:30 |
||||
from __future__ import unicode_literals |
||||
|
||||
from django.db import migrations |
||||
|
||||
|
||||
class Migration(migrations.Migration): |
||||
|
||||
dependencies = [ |
||||
('projects', '0029_project_active'), |
||||
] |
||||
|
||||
operations = [ |
||||
migrations.RenameField( |
||||
model_name='answer', |
||||
old_name='cost', |
||||
new_name='budget', |
||||
), |
||||
migrations.RenameField( |
||||
model_name='answer', |
||||
old_name='user', |
||||
new_name='contractor', |
||||
), |
||||
migrations.RenameField( |
||||
model_name='answer', |
||||
old_name='cost_type', |
||||
new_name='currency', |
||||
), |
||||
] |
||||
@ -0,0 +1,24 @@ |
||||
# -*- coding: utf-8 -*- |
||||
# Generated by Django 1.9.6 on 2016-06-10 11:34 |
||||
from __future__ import unicode_literals |
||||
|
||||
from django.db import migrations, models |
||||
|
||||
|
||||
class Migration(migrations.Migration): |
||||
|
||||
dependencies = [ |
||||
('projects', '0030_auto_20160610_1430'), |
||||
] |
||||
|
||||
operations = [ |
||||
migrations.RemoveField( |
||||
model_name='project', |
||||
name='active', |
||||
), |
||||
migrations.AddField( |
||||
model_name='project', |
||||
name='state', |
||||
field=models.CharField(choices=[('active', 'Активный'), ('trash', 'В корзине'), ('delete', 'Удален')], default='active', max_length=20), |
||||
), |
||||
] |
||||
Loading…
Reference in new issue