|
|
|
|
@ -148,7 +148,7 @@ class UnsubscriptionSuccess(TemplateView): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class AuthMailingSettings(RedirectView): |
|
|
|
|
url = reverse_lazy('accounts-mailing_settings') |
|
|
|
|
url = reverse_lazy('newsletter_mailinglist_unsubscribe_success') |
|
|
|
|
|
|
|
|
|
def get(self, request, *args, **kwargs): |
|
|
|
|
self.contact = untokenize(self.kwargs.get('uidb36'), self.kwargs.get('token')) |
|
|
|
|
@ -204,4 +204,4 @@ class SendtoFriendView(TemplateView): |
|
|
|
|
ctx['formset'] = self.formset |
|
|
|
|
ctx['newsletter'] = self.newsletter |
|
|
|
|
ctx['contact'] = self.contact |
|
|
|
|
return ctx |
|
|
|
|
return ctx |
|
|
|
|
|