Fix large number of SQL queries on email settings page

This commit is contained in:
Raphael Michel
2021-05-31 13:38:26 +02:00
parent 3cc92bc9a8
commit bf3c7545c9
2 changed files with 6 additions and 1 deletions

View File

@@ -641,6 +641,7 @@ class Event(EventMixin, LoggedModel):
def copy_data_from(self, other):
from pretix.presale.style import regenerate_css
from ..signals import event_copy_data
from . import (
Item, ItemAddOn, ItemBundle, ItemCategory, ItemMetaValue, Question,