diff --git a/preferences/migrations/0029_auto_20180318_0213.py b/preferences/migrations/0029_auto_20180318_0213.py new file mode 100644 index 00000000..83d135b4 --- /dev/null +++ b/preferences/migrations/0029_auto_20180318_0213.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.7 on 2018-03-18 01:13 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('preferences', '0028_assooption_description'), + ] + + operations = [ + migrations.AlterField( + model_name='assooption', + name='description', + field=models.TextField(blank=True, null=True), + ), + ] diff --git a/preferences/models.py b/preferences/models.py index efd32f88..3c35e34a 100644 --- a/preferences/models.py +++ b/preferences/models.py @@ -561,7 +561,10 @@ class AssoOption(PreferencesModel): null=True, blank=True, ) - description = models.TextField(default="") + description = models.TextField( + null=True, + blank=True, + ) class Meta: permissions = ( diff --git a/preferences/templates/preferences/display_preferences.html b/preferences/templates/preferences/display_preferences.html index 67666bac..26fc0308 100644 --- a/preferences/templates/preferences/display_preferences.html +++ b/preferences/templates/preferences/display_preferences.html @@ -57,10 +57,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,