Files
mayan-edms/apps/signaler/management/commands/collectstatic.py
2012-02-22 11:57:00 -04:00

14 lines
370 B
Python

from django.contrib.staticfiles.management.commands import collectstatic
from signaler.signals import pre_collectstatic
class Command(collectstatic.Command):
"""
Wrapper for the collectstatic command
"""
def handle_noargs(self, *args, **kwargs):
pre_collectstatic.send(sender=self)
super(Command, self).handle_noargs(*args, **kwargs)