From a1e0a5502f04da68b6a9ca8508dda3f9d7e1d055 Mon Sep 17 00:00:00 2001 From: coderick14 Date: Wed, 17 May 2017 15:40:18 +0530 Subject: Upgrade to Django 1.11 - Database integration yet to be tested --- sbhs_server/webcam/management/commands/__init__.py | 0 sbhs_server/webcam/management/commands/reload_images.py | 12 ------------ 2 files changed, 12 deletions(-) delete mode 100644 sbhs_server/webcam/management/commands/__init__.py delete mode 100644 sbhs_server/webcam/management/commands/reload_images.py (limited to 'sbhs_server/webcam/management/commands') diff --git a/sbhs_server/webcam/management/commands/__init__.py b/sbhs_server/webcam/management/commands/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/sbhs_server/webcam/management/commands/reload_images.py b/sbhs_server/webcam/management/commands/reload_images.py deleted file mode 100644 index 5b735cb..0000000 --- a/sbhs_server/webcam/management/commands/reload_images.py +++ /dev/null @@ -1,12 +0,0 @@ -from django.core.management.base import BaseCommand -from sbhs_server.tables.models import Board -from sbhs_server.webcam.views import load_image - -class Command(BaseCommand): - args = '' - help = 'Reloads images for all SBHS machines' - - def handle(self, *args, **options): - boards = Board.objects.all() - for b in boards: - load_image(b.mid) -- cgit