Remove math engines

This commit is contained in:
cuom1999 2024-02-26 14:49:52 -06:00
parent 3f53c62d4d
commit 1e7957a2cd
22 changed files with 67 additions and 81 deletions

View file

@ -88,11 +88,6 @@ class ProfileForm(ModelForm):
"css_background": forms.TextInput(),
}
has_math_config = bool(settings.MATHOID_URL)
if has_math_config:
fields.append("math_engine")
widgets["math_engine"] = Select2Widget(attrs={"style": "width:200px"})
if HeavyPreviewPageDownWidget is not None:
widgets["about"] = HeavyPreviewPageDownWidget(
preview=reverse_lazy("profile_preview"),