fixes
[wolnelektury.git] / src / newsletter / forms.py
index 8cb19ee..d473cf3 100644 (file)
@@ -82,6 +82,7 @@ class UnsubscribeForm(Form):
         subscription = self.cleaned_data['subscription']
         subscription.active = False
         subscription.save()
+        mailing.unsubscribe(subscription.email)
 
         context = {'subscription': subscription}
         # refactor to send_noreply_mail