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
909 B
30 lines
909 B
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.9.7 on 2016-08-11 12:07
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
import django.utils.timezone
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('reviews', '0003_auto_20160811_1113'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RemoveField(
|
|
model_name='review',
|
|
name='stars',
|
|
),
|
|
migrations.AddField(
|
|
model_name='review',
|
|
name='created',
|
|
field=models.DateTimeField(default=django.utils.timezone.now),
|
|
),
|
|
migrations.AddField(
|
|
model_name='review',
|
|
name='type',
|
|
field=models.CharField(choices=[('positive', 'Положительный'), ('negative', 'Отрицательный'), ('neutral', 'Нейтральный')], default='neutral', max_length=30),
|
|
),
|
|
]
|
|
|