Skip to content

Commit cc524ab

Browse files
committed
Fix newsletter import
1 parent bf5e286 commit cc524ab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bakeup/newsletter/views.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
from django.utils.translation import ngettext
1313
from django.views.decorators.http import require_http_methods
1414
from wagtail.admin.forms.search import SearchForm
15-
from wagtail.log_actions import log
1615
from wagtail.models import Site
1716

1817
from bakeup.contrib.utils import get_json_http_response
@@ -351,7 +350,7 @@ def create_contacts_from_dataset(dataset, config):
351350
if config["is_active"]:
352351
contact.is_active = True
353352
contact.save()
354-
log(instance=contact, action="wagtail.create")
353+
# log(instance=contact, action="wagtail.create")
355354
except IntegrityError as e:
356355
errors.append([row[config["email"]], str(e)])
357356
continue

0 commit comments

Comments
 (0)