improve rendering speed by caching LevelGeometry in database
This commit is contained in:
parent
24977b80fe
commit
a9594b0cc5
5 changed files with 93 additions and 38 deletions
|
@ -0,0 +1,9 @@
|
|||
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