no reason to save levels, we dont store anything in them anymore
This commit is contained in:
parent
747b97a2aa
commit
b6be667cfc
1 changed files with 0 additions and 5 deletions
|
@ -8,7 +8,6 @@ from itertools import chain
|
|||
|
||||
import numpy as np
|
||||
from django.conf import settings
|
||||
from django.db import transaction
|
||||
from scipy.interpolate import NearestNDInterpolator
|
||||
from shapely import prepared
|
||||
from shapely.geometry import GeometryCollection, LineString, MultiLineString
|
||||
|
@ -348,10 +347,6 @@ class LevelRenderData:
|
|||
|
||||
map_history.save(MapHistory.level_filename(level.pk, 'composite'))
|
||||
|
||||
with transaction.atomic():
|
||||
for level in levels:
|
||||
level.save()
|
||||
|
||||
cached = {}
|
||||
cache_key = None
|
||||
cache_lock = threading.Lock()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue