diff --git a/judge/views/register.py b/judge/views/register.py index b10b057..b305808 100644 --- a/judge/views/register.py +++ b/judge/views/register.py @@ -125,8 +125,8 @@ class RegistrationView(OldRegistrationView): profile.organizations.add(*cleaned_data["organizations"]) profile.save() - if newsletter_id is not None and cleaned_data["newsletter"]: - Subscription(user=user, newsletter_id=newsletter_id, subscribed=True).save() + #if newsletter_id is not None and cleaned_data["newsletter"]: + # Subscription(user=user, newsletter_id=newsletter_id, subscribed=True).save() return user def get_initial(self, *args, **kwargs): diff --git a/templates/registration/registration_form.html b/templates/registration/registration_form.html index b4c5fc1..93854df 100644 --- a/templates/registration/registration_form.html +++ b/templates/registration/registration_form.html @@ -84,13 +84,6 @@
{{ form.organizations.errors }}
{% endif %} - {% if form.newsletter %} -
{{ form.newsletter }} - -
- {% endif %} - {% if form.captcha %}
{{ form.captcha }}
{% if form.captcha.errors %}