From e8ca7ccccf0e0ce30cce9a603465928195503073 Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Mon, 15 Mar 2021 23:19:20 +0100 Subject: [PATCH] Add missing files --- .../migrations/0013_auto_20210315_2143.py | 19 +++++++++++++++++++ server/core/constants.py | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 server/assignments/migrations/0013_auto_20210315_2143.py create mode 100644 server/core/constants.py 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']