diff --git a/opentech/public/mailchimp/views.py b/opentech/public/mailchimp/views.py index ae0a9e4a32b4306d99f91c946e993fe2e1a83fe5..ed0ede580472b056eed7383c59ded72c7577e5a6 100644 --- a/opentech/public/mailchimp/views.py +++ b/opentech/public/mailchimp/views.py @@ -1,6 +1,6 @@ import logging -from time import time +import uuid from django.conf import settings from django.contrib import messages @@ -86,7 +86,7 @@ class MailchimpSubscribeView(FormMixin, RedirectView): origin = self.request.META['HTTP_REFERER'] # Add cache busting query string. - return origin + '?newsletter-' + str(time.time()) + return origin + '?newsletter-' + uuid.uuid4().hex def get_redirect_url(self): # We don't know where you came from, go home