diff --git a/server/assignments/migrations/0013_auto_20210315_2143.py b/server/assignments/migrations/0013_auto_20210315_2143.py new file mode 100644 index 00000000..5f409889 --- /dev/null +++ b/server/assignments/migrations/0013_auto_20210315_2143.py @@ -0,0 +1,19 @@ +# Generated by Django 2.2.19 on 2021-03-15 21:43 + +from django.db import migrations +import wagtail.core.fields + + +class Migration(migrations.Migration): + + dependencies = [ + ('assignments', '0012_auto_20210126_1346'), + ] + + operations = [ + migrations.AlterField( + model_name='assignment', + name='solution', + field=wagtail.core.fields.RichTextField(blank=True, null=True), + ), + ] diff --git a/server/core/constants.py b/server/core/constants.py new file mode 100644 index 00000000..4cae3d13 --- /dev/null +++ b/server/core/constants.py @@ -0,0 +1,2 @@ +DEFAULT_RICH_TEXT_FEATURES = ['ul', ] +INSTRUMENTS_RICH_TEXT_FEATURES = ['bold', 'ul', 'brand', 'secondary']