summaryrefslogtreecommitdiff
path: root/src/meetingtools/apps/room/management/commands/import_rooms.py
blob: 7944be811372381a2ed5fce6dbb0fd2c13ec4974 (plain)
1
2
3
4
5
6
7
8
9
10
11
from django.core.management import BaseCommand
from meetingtools.apps.cluster.models import ACCluster
from meetingtools.apps.room.tasks import import_acc

__author__ = 'leifj'

class Command(BaseCommand):

    def handle(self, *args, **options):
        for acc in ACCluster.objects.all():
            import_acc(acc,since=0)