Add LEAFLET_STORAGE_KEEP_VERSIONS
This commit is contained in:
parent
5ca8b3f6a1
commit
e5e0ad8823
3 changed files with 5 additions and 5 deletions
|
@ -153,6 +153,7 @@ LEAFLET_STORAGE_EXTRA_URLS = {
|
||||||
'routing': 'http://www.openstreetmap.org/directions?engine=osrm_car&route={lat},{lng}&locale={locale}#map={zoom}/{lat}/{lng}', # noqa
|
'routing': 'http://www.openstreetmap.org/directions?engine=osrm_car&route={lat},{lng}&locale={locale}#map={zoom}/{lat}/{lng}', # noqa
|
||||||
'ajax_proxy': '/ajax-proxy/?url={url}'
|
'ajax_proxy': '/ajax-proxy/?url={url}'
|
||||||
}
|
}
|
||||||
|
LEAFLET_STORAGE_KEEP_VERSIONS = 10
|
||||||
SITE_URL = "http://umap.org"
|
SITE_URL = "http://umap.org"
|
||||||
SITE_NAME = 'uMap'
|
SITE_NAME = 'uMap'
|
||||||
UMAP_DEMO_SITE = False
|
UMAP_DEMO_SITE = False
|
||||||
|
|
|
@ -98,10 +98,10 @@ STATIC_ROOT = '/home/umap/.virtualenvs/umap/var/static'
|
||||||
# For users' statics (geojson mainly)
|
# For users' statics (geojson mainly)
|
||||||
MEDIA_ROOT = '/home/umap/.virtualenvs/umap/var/uploads'
|
MEDIA_ROOT = '/home/umap/.virtualenvs/umap/var/uploads'
|
||||||
|
|
||||||
# MapQuest API key
|
|
||||||
MAPQUEST_KEY = ''
|
|
||||||
|
|
||||||
# Default map location for new maps
|
# Default map location for new maps
|
||||||
LEAFLET_LONGITUDE = 2
|
LEAFLET_LONGITUDE = 2
|
||||||
LEAFLET_LATITUDE = 51
|
LEAFLET_LATITUDE = 51
|
||||||
LEAFLET_ZOOM = 6
|
LEAFLET_ZOOM = 6
|
||||||
|
|
||||||
|
# Number of old version to keep per datalayer.
|
||||||
|
LEAFLET_STORAGE_KEEP_VERSIONS = 10
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
<h5>{% trans "Please choose a provider" %}</h5>
|
<h5>{% trans "Please choose a provider" %}</h5>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<ul class="login-grid block-grid">
|
<ul class="login-grid block-grid">
|
||||||
{% for name in backends.backends %}
|
{% for name in backends.backends %}
|
||||||
|
|
Loading…
Reference in a new issue