warn during system check it shapely speedups are not available

This commit is contained in:
Laura Klünder 2017-10-20 16:11:40 +02:00
parent 49bc5f013d
commit 5ede164761
2 changed files with 17 additions and 2 deletions

View file

@ -62,9 +62,9 @@ def check_svg_renderer(app_configs, **kwargs):
if not rtree_index:
errors.append(
checks.Warning(
'The libspatialindex_c library is missing. This will drastically slow down c3nav rendering.',
'The libspatialindex_c library is missing. This will slow down c3nav in future versions.',
obj='rtree.index.Index',
id='c3nav.mapdata.W001',
id='c3nav.mapdata.W002',
)
)
return errors