cut altitude areas

This commit is contained in:
Laura Klünder 2017-08-05 14:17:24 +02:00
parent 9ca07be935
commit cb4a4c1b33
3 changed files with 70 additions and 2 deletions

View file

@ -0,0 +1,9 @@
from django.core.management.base import BaseCommand
class Command(BaseCommand):
help = 'recalculate the map altitudes'
def handle(self, *args, **options):
from c3nav.mapdata.models import AltitudeArea
AltitudeArea.recalculate()