1
# Django settings for pld project.
6
PROJECT_DIR="/homez.165/dumoulin/osm/pld/"
7
MEDIA_URL = 'http://pld.dumoulin63.net/static/'
9
PROJECT_DIR="/home/dumoulin/Divers/OSM/PLD/"
10
MEDIA_URL = 'http://pld.dumoulin63.net/static/'
11
#MEDIA_URL = 'http://localhost:9900/'
15
TEMPLATE_DEBUG = DEBUG
18
('Nicolas Dumoulin', 'nicolas@dumoulin63.net'),
20
ADMIN_MEDIA_PREFIX=MEDIA_URL+"admin/"
26
'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
27
'NAME': PROJECT_DIR+'pld/database.db', # Or path to database file if using sqlite3.
28
'USER': '', # Not used with sqlite3.
29
'PASSWORD': '', # Not used with sqlite3.
30
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.
31
'PORT': '', # Set to empty string for default. Not used with sqlite3.
34
FORMAT_MODULE_PATH = "pld.formats"
36
# Local time zone for this installation. Choices can be found here:
37
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
38
# although not all choices may be available on all operating systems.
39
# On Unix systems, a value of None will cause Django to use the same
40
# timezone as the operating system.
41
# If running in a Windows environment this must be set to the same as your
43
TIME_ZONE = 'France/Paris'
45
# Language code for this installation. All choices can be found here:
46
# http://www.i18nguy.com/unicode/language-identifiers.html
47
LANGUAGE_CODE = 'FR-fr'
51
# If you set this to False, Django will make some optimizations so as not
52
# to load the internationalization machinery.
55
# If you set this to False, Django will not format dates, numbers and
56
# calendars according to the current locale
59
# Absolute path to the directory that holds media.
60
# Example: "/home/media/media.lawrence.com/"
63
# Make this unique, and don't share it with anybody.
64
SECRET_KEY = 'z=r@m1dwl0gg!nl+3&4p%g+2&824h6nzvzrg0^24!(t!z7=ht_'
66
# List of callables that know how to import templates from various sources.
68
'django.template.loaders.filesystem.Loader',
69
'django.template.loaders.app_directories.Loader',
70
# 'django.template.loaders.eggs.Loader',
73
MIDDLEWARE_CLASSES = (
74
'django.middleware.common.CommonMiddleware',
75
'django.contrib.sessions.middleware.SessionMiddleware',
76
'django.middleware.csrf.CsrfViewMiddleware',
77
'django.contrib.auth.middleware.AuthenticationMiddleware',
78
'django.contrib.messages.middleware.MessageMiddleware',
81
ROOT_URLCONF = 'pld.urls'
84
PROJECT_DIR+'templates/',
85
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
86
# Always use forward slashes, even on Windows.
87
# Don't forget to use absolute paths, not relative paths.
91
'django.contrib.auth',
92
'django.contrib.contenttypes',
93
'django.contrib.sessions',
94
'django.contrib.sites',
95
'django.contrib.messages',
97
# Uncomment the next line to enable the admin:
98
'django.contrib.admin',
99
# Uncomment the next line to enable admin documentation:
100
# 'django.contrib.admindocs',