From 1f266e382d93ad71d263dd82e2abdfdb9027c784 Mon Sep 17 00:00:00 2001 From: rscnt Date: Sun, 7 Feb 2016 20:19:11 -0600 Subject: [PATCH] supporters description should be text field Signed-off-by: rscnt --- .../migrations/0005_auto_20160208_0218.py | 20 +++++++++++++++++++ digitalglarus/models.py | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 digitalglarus/migrations/0005_auto_20160208_0218.py diff --git a/digitalglarus/migrations/0005_auto_20160208_0218.py b/digitalglarus/migrations/0005_auto_20160208_0218.py new file mode 100644 index 00000000..0f2e4beb --- /dev/null +++ b/digitalglarus/migrations/0005_auto_20160208_0218.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('digitalglarus', '0004_supporter'), + ] + + operations = [ + migrations.AlterField( + model_name='supporter', + name='description', + field=models.TextField(), + preserve_default=True, + ), + ] diff --git a/digitalglarus/models.py b/digitalglarus/models.py index f8939972..48759aa3 100644 --- a/digitalglarus/models.py +++ b/digitalglarus/models.py @@ -15,4 +15,4 @@ class Message(models.Model): class Supporter(models.Model): name = models.CharField(max_length=200) - description = models.CharField(max_length=500) + description = models.TextField()