README.md changes and newsletter removal

This commit is contained in:
Tran Trong Nghia 2022-12-26 18:11:02 +07:00
parent 62a6f9f64c
commit ad85942c33
37 changed files with 4 additions and 467 deletions

View file

@ -34,7 +34,7 @@ from judge.models import (
BlogPost,
ContestProblem,
)
from judge.utils.subscription import newsletter_id
from judge.widgets import (
HeavyPreviewPageDownWidget,
MathJaxPagedownWidget,
@ -65,10 +65,6 @@ class UserForm(ModelForm):
class ProfileForm(ModelForm):
if newsletter_id is not None:
newsletter = forms.BooleanField(
label=_("Subscribe to contest updates"), initial=False, required=False
)
test_site = forms.BooleanField(
label=_("Enable experimental features"), initial=False, required=False
)