Add missing files

This commit is contained in:
Ramon Wenger 2021-03-15 23:19:20 +01:00
parent bcff36b49f
commit e8ca7ccccf
2 changed files with 21 additions and 0 deletions

View File

@ -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),
),
]

2
server/core/constants.py Normal file
View File

@ -0,0 +1,2 @@
DEFAULT_RICH_TEXT_FEATURES = ['ul', ]
INSTRUMENTS_RICH_TEXT_FEATURES = ['bold', 'ul', 'brand', 'secondary']