no reason to save levels, we dont store anything in them anymore

This commit is contained in:
Laura Klünder 2017-11-18 21:18:31 +01:00
parent 747b97a2aa
commit b6be667cfc

View file

@ -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()