blob: 75e9513fcaf8973bb5047d9f202ada221984bf19 [file] [log] [blame]
from django.core.management.base import NoArgsCommand, CommandError
from orm.models import LayerSource
import os
class Command(NoArgsCommand):
args = ""
help = "Updates locally cached information from all LayerSources"
def handle_noargs(self, **options):
for ls in LayerSource.objects.all():
ls.update()