0.8.0-beta.0

This commit is contained in:
Yohan Boniface 2015-10-17 08:52:29 +02:00
parent f566247b91
commit 6fe7119cbb
3 changed files with 13 additions and 12 deletions

View file

@ -4,4 +4,4 @@ Pillow==3.0.0
psycopg2==2.6.1 psycopg2==2.6.1
python-social-auth==0.2.13 python-social-auth==0.2.13
requests==2.8.0 requests==2.8.0
git+https://github.com/umap-project/django-leaflet-storage.git django-leaflet-storage==0.8.0b0

View file

@ -1,5 +1,5 @@
"Create maps with OpenStreetMap layers in a minute and embed them in your site." "Create maps with OpenStreetMap layers in a minute and embed them in your site."
VERSION = (0, 7, 6) VERSION = (0, 8, 0, 'beta', 0)
__author__ = 'Yohan Boniface' __author__ = 'Yohan Boniface'
__contact__ = "ybon@openstreetmap.fr" __contact__ = "ybon@openstreetmap.fr"

View file

@ -61,18 +61,18 @@ INSTALLED_APPS = (
'social.apps.django_app.default', 'social.apps.django_app.default',
) )
#============================================================================== # =============================================================================
# Calculation of directories relative to the project module location # Calculation of directories relative to the project module location
#============================================================================== # =============================================================================
import os import os
import umap as project_module import umap as project_module
PROJECT_DIR = os.path.dirname(os.path.realpath(project_module.__file__)) PROJECT_DIR = os.path.dirname(os.path.realpath(project_module.__file__))
#============================================================================== # =============================================================================
# Project URLS and media settings # Project URLS and media settings
#============================================================================== # =============================================================================
ROOT_URLCONF = 'umap.urls' ROOT_URLCONF = 'umap.urls'
@ -90,13 +90,14 @@ STATICFILES_DIRS = (
os.path.join(PROJECT_DIR, 'static'), os.path.join(PROJECT_DIR, 'static'),
) )
STATICFILES_FINDERS += ( STATICFILES_FINDERS = (
'compressor.finders.CompressorFinder', 'compressor.finders.CompressorFinder',
) # 'npm.finders.NpmFinder',
) + STATICFILES_FINDERS
#============================================================================== # =============================================================================
# Templates # Templates
#============================================================================== # =============================================================================
TEMPLATE_DIRS = ( TEMPLATE_DIRS = (
os.path.join(PROJECT_DIR, 'templates'), os.path.join(PROJECT_DIR, 'templates'),
@ -114,9 +115,9 @@ TEMPLATE_LOADERS = (
('django.template.loaders.cached.Loader', TEMPLATE_LOADERS), ('django.template.loaders.cached.Loader', TEMPLATE_LOADERS),
) )
#============================================================================== # =============================================================================
# Middleware # Middleware
#============================================================================== # =============================================================================
MIDDLEWARE_CLASSES = ( MIDDLEWARE_CLASSES = (
'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware',