diff --git a/README.md b/README.md index e90a2f3b..b0b1f11a 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ # uMap project [![Requirements Status](https://requires.io/github/umap-project/umap/requirements.svg?branch=master)](https://requires.io/github/umap-project/umap/requirements/?branch=master) -[![Join the chat at https://gitter.im/umap-project/umap](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/umap-project/umap?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Documentation Status](https://readthedocs.org/projects/umap-project/badge/?version=latest)](http://umap-project.readthedocs.io/en/latest/?badge=latest)[![Build Status](https://travis-ci.org/umap-project/umap.svg?branch=master)](https://travis-ci.org/umap-project/umap) +[![Join the chat at https://gitter.im/umap-project/umap](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/umap-project/umap?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![Documentation Status](https://readthedocs.org/projects/umap-project/badge/?version=latest)](http://umap-project.readthedocs.io/en/master/?badge=latest)[![Build Status](https://travis-ci.org/umap-project/umap.svg?branch=master)](https://travis-ci.org/umap-project/umap) ## About @@ -13,4 +13,4 @@ Built on top of Django and Leaflet. ## Installation and configuration -See [developer documentation](https://umap-project.readthedocs.io/en/latest/install/). +See [developer documentation](https://umap-project.readthedocs.io/en/master/install/). diff --git a/umap/settings/base.py b/umap/settings/base.py index ae365000..6c1a84d7 100644 --- a/umap/settings/base.py +++ b/umap/settings/base.py @@ -2,9 +2,9 @@ # Import global settings to make it easier to extend settings. from email.utils import parseaddr -from django.template.defaultfilters import slugify -from django.conf.locale import LANG_INFO import environ +from django.conf.locale import LANG_INFO +from django.template.defaultfilters import slugify env = environ.Env() @@ -137,6 +137,7 @@ FORM_RENDERER = "django.forms.renderers.DjangoDivFormRenderer" # ============================================================================= import os + import umap as project_module PROJECT_DIR = os.path.dirname(os.path.realpath(project_module.__file__)) diff --git a/umap/static/umap/js/umap.controls.js b/umap/static/umap/js/umap.controls.js index 76ca83df..9d5a7a6c 100644 --- a/umap/static/umap/js/umap.controls.js +++ b/umap/static/umap/js/umap.controls.js @@ -911,7 +911,7 @@ L.U.Map.include({ leaflet: 'http://leafletjs.com', django: 'https://www.djangoproject.com', umap: 'http://wiki.openstreetmap.org/wiki/UMap', - changelog: 'https://umap-project.readthedocs.io/en/latest/changelog/', + changelog: 'https://umap-project.readthedocs.io/en/master/changelog/', version: this.options.umap_version, } umapCredit.innerHTML = L._( diff --git a/umap/templates/umap/content_footer.html b/umap/templates/umap/content_footer.html index 51d1d3d1..233ac8dd 100644 --- a/umap/templates/umap/content_footer.html +++ b/umap/templates/umap/content_footer.html @@ -2,7 +2,7 @@