rebuild altitudes and level geoms on mapupdate
This commit is contained in:
parent
239708af31
commit
ed2cedaa87
4 changed files with 6 additions and 18 deletions
|
@ -1,9 +0,0 @@
|
|||
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()
|
|
@ -1,9 +0,0 @@
|
|||
from django.core.management.base import BaseCommand
|
||||
|
||||
|
||||
class Command(BaseCommand):
|
||||
help = 'rebuild level geometries'
|
||||
|
||||
def handle(self, *args, **options):
|
||||
from c3nav.mapdata.render.base import LevelGeometries
|
||||
LevelGeometries.rebuild()
|
Loading…
Add table
Add a link
Reference in a new issue