Make calls to regenerate_css asynchronous

This commit is contained in:
Raphael Michel
2016-09-21 14:17:39 +02:00
parent 3dc63d669f
commit 6229db5035
2 changed files with 2 additions and 2 deletions

View File

@@ -10,4 +10,4 @@ class Command(BaseCommand):
def handle(self, *args, **options):
for es in EventSetting.objects.filter(key="presale_css_file"):
regenerate_css(es.object_id)
regenerate_css.apply_async(args=(es.object_id,))