Drop periodic_task call from rebuild command

This commit is contained in:
Raphael Michel
2017-01-20 13:08:48 +01:00
parent bbb71ef891
commit ec42557305

View File

@@ -1,14 +1,11 @@
from django.core.management import call_command
from django.core.management.base import BaseCommand
from ...signals import periodic_task
class Command(BaseCommand):
help = "Rebuild static files and language files"
def handle(self, *args, **options):
periodic_task.send(self)
call_command('compilemessages', verbosity=1, interactive=False)
call_command('compilejsi18n', verbosity=1, interactive=False)
call_command('compilejsi18n', locale='de-informal', verbosity=1, interactive=False)