Unverified Commit e7bdf011 authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

Set max length for profile description

Closes #615
parent e9b4c45a
# Generated by Django 2.0.2 on 2018-03-20 16:32
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('members', '0019_delete_becomeamemberdocument'),
]
operations = [
migrations.AlterField(
model_name='profile',
name='profile_description',
field=models.TextField(blank=True, help_text='Text to display on your profile', max_length=4096, null=True, verbose_name='Profile text'),
),
]
...@@ -286,6 +286,7 @@ class Profile(models.Model): ...@@ -286,6 +286,7 @@ class Profile(models.Model):
help_text=_('Text to display on your profile'), help_text=_('Text to display on your profile'),
blank=True, blank=True,
null=True, null=True,
max_length=4096,
) )
initials = models.CharField( initials = models.CharField(
......
Supports Markdown
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