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
9
src/c3nav/mapdata/management/commands/clearmapcache.py
Normal file
9
src/c3nav/mapdata/management/commands/clearmapcache.py
Normal 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')
|
Loading…
Add table
Add a link
Reference in a new issue