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

@ -1,10 +0,0 @@
from django.conf import settings
if "newsletter" in settings.INSTALLED_APPS:
from newsletter.models import Subscription
else:
Subscription = None
newsletter_id = (
None if Subscription is None else settings.DMOJ_NEWSLETTER_ID_ON_REGISTER
)