Commit 0dbe0d2b authored by Mindiell's avatar Mindiell

Description of Campaigns needs more space

parent 605c90b2
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('campaign', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='campaign',
name='description',
field=models.TextField(null=True),
preserve_default=True,
),
]
......@@ -13,7 +13,7 @@ class Campaign(models.Model):
"""Campaign model, describe what have to be achieved"""
id = models.AutoField(primary_key=True)
title = models.CharField(max_length=255)
description = models.CharField(max_length=512, blank=True)
description = models.TextField(null=True)
organization = models.ForeignKey(Organization, related_name='campaigns')
start_date = models.DateField()
end_date = models.DateField()
......
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