Commit 64f077e5 authored by okhin's avatar okhin

Adding a title to each argulentary

parent eef3abba
Pipeline #725 passed with stage
in 1 minute and 8 seconds
# -*- coding: utf-8 -*-
# Generated by Django 1.10.4 on 2017-01-09 16:45
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('campaign', '0004_campaign_phone_filter'),
]
operations = [
migrations.AddField(
model_name='argumentary',
name='title',
field=models.CharField(blank=True, max_length=255, null=True, verbose_name='title'),
),
]
...@@ -31,6 +31,7 @@ class Argumentary(models.Model): ...@@ -31,6 +31,7 @@ class Argumentary(models.Model):
lang = models.CharField(max_length=5, lang = models.CharField(max_length=5,
choices=LANGUAGES, choices=LANGUAGES,
verbose_name=_('language')) verbose_name=_('language'))
title = models.CharField(max_length=255, verbose_name=_('title'), null=True, blank=True)
text = models.TextField(null=True) text = models.TextField(null=True)
def __str__(self): def __str__(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment