rebuild altitudes and level geoms on mapupdate

This commit is contained in:
Laura Klünder 2017-10-19 14:41:42 +02:00
parent 239708af31
commit ed2cedaa87
4 changed files with 6 additions and 18 deletions

View file

@ -0,0 +1,9 @@
from django.core.management.base import BaseCommand
class Command(BaseCommand):
help = 'clear the mapdata cache'
def handle(self, *args, **options):
from c3nav.mapdata.models import MapUpdate
MapUpdate.objects.create(type='management')