supporters description should be text field
Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
parent
06c0b3ec55
commit
2325d5288d
2 changed files with 21 additions and 1 deletions
20
digitalglarus/migrations/0005_auto_20160208_0218.py
Normal file
20
digitalglarus/migrations/0005_auto_20160208_0218.py
Normal file
|
@ -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,
|
||||||
|
),
|
||||||
|
]
|
|
@ -15,4 +15,4 @@ class Message(models.Model):
|
||||||
|
|
||||||
class Supporter(models.Model):
|
class Supporter(models.Model):
|
||||||
name = models.CharField(max_length=200)
|
name = models.CharField(max_length=200)
|
||||||
description = models.CharField(max_length=500)
|
description = models.TextField()
|
||||||
|
|
Loading…
Reference in a new issue