Source code for bits.management.commands.after_syncdb

"""
Sends the `after_syncdb` signal.

"""

###############################################################################
## Imports
###############################################################################
from django.core.management.base import BaseCommand
from bits.general import after_syncdb


###############################################################################
## Command
###############################################################################
[docs]class Command(BaseCommand): help = 'sends after_syncdb signal'
[docs] def handle(self, *args, **options): after_syncdb.send(sender=self) self.stdout.write('Sent after_syncdb\n')

Project Versions

This Page