mirror of
https://github.com/pretix/pretix.git
synced 2026-05-09 15:54:03 +00:00
Fix a broken import
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
from django.core.management.base import BaseCommand
|
from django.core.management.base import BaseCommand
|
||||||
|
|
||||||
from pretix.base.models import EventSetting
|
from pretix.base.models import Event_SettingsStore
|
||||||
|
|
||||||
from ...style import regenerate_css
|
from ...style import regenerate_css
|
||||||
|
|
||||||
@@ -9,5 +9,5 @@ class Command(BaseCommand):
|
|||||||
help = "Re-generate all custom stylesheets"
|
help = "Re-generate all custom stylesheets"
|
||||||
|
|
||||||
def handle(self, *args, **options):
|
def handle(self, *args, **options):
|
||||||
for es in EventSetting.objects.filter(key="presale_css_file"):
|
for es in Event_SettingsStore.objects.filter(key="presale_css_file"):
|
||||||
regenerate_css.apply_async(args=(es.object_id,))
|
regenerate_css.apply_async(args=(es.object_id,))
|
||||||
|
|||||||
Reference in New Issue
Block a user