Exemple #1
0
def update_bigbrother():
    logger = update_bigbrother.get_logger()

    logger.info('Updating BigBrother modules...')
    update_modules()
    logger.info('Update complete.')
Exemple #2
0
 def get(self, request, *args, **kwargs):
     from .core import update_modules
     update_modules()
     return HttpResponse('ok')
Exemple #3
0
 def handle(self, *args, **options):
     update_modules()
     self.stdout.write('All modules updated successfully')