aboutsummaryrefslogtreecommitdiff
path: root/rpkid/portal-gui/settings.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'rpkid/portal-gui/settings.py.in')
-rw-r--r--rpkid/portal-gui/settings.py.in74
1 files changed, 74 insertions, 0 deletions
diff --git a/rpkid/portal-gui/settings.py.in b/rpkid/portal-gui/settings.py.in
new file mode 100644
index 00000000..243cef56
--- /dev/null
+++ b/rpkid/portal-gui/settings.py.in
@@ -0,0 +1,74 @@
+# $Id$
+#
+# Sample Django settings.py for running the RPKI portal gui. This
+# template was written for Django 1.2.
+#
+# DO NOT EDIT! This file is automatically generated from
+# settings.py.in
+
+DEBUG = True
+TEMPLATE_DEBUG = DEBUG
+
+DATABASES = {
+ 'default' : {
+ 'ENGINE': 'django.db.backends.sqlite3',
+ 'NAME' : '%(AC_DATABASE_PATH)s'
+ }
+}
+
+# Local time zone for this installation. Choices can be found here:
+# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
+# although not all choices may be available on all operating systems.
+# If running in a Windows environment this must be set to the same as your
+# system time zone.
+TIME_ZONE = 'GMT'
+
+# Make this unique, and don't share it with anybody.
+SECRET_KEY = '%(AC_SECRET_KEY)s'
+
+# List of callables that know how to import templates from various sources.
+TEMPLATE_LOADERS = (
+ 'django.template.loaders.filesystem.Loader',
+ 'django.template.loaders.app_directories.Loader',
+ 'django.template.loaders.eggs.Loader'
+)
+
+MIDDLEWARE_CLASSES = (
+ 'django.middleware.common.CommonMiddleware',
+ 'django.contrib.sessions.middleware.SessionMiddleware',
+
+ # order is important here. if csrfmidware is put before condgetmidware,
+ # the returned pages get truncated for some reason!
+ 'django.middleware.http.ConditionalGetMiddleware',
+
+ 'django.middleware.csrf.CsrfViewMiddleware',
+ 'django.contrib.auth.middleware.AuthenticationMiddleware',
+ 'django.contrib.messages.middleware.MessageMiddleware'
+)
+
+ROOT_URLCONF = 'rpki.gui.urls'
+
+INSTALLED_APPS = (
+ 'django.contrib.auth',
+ 'django.contrib.admin',
+ 'django.contrib.admindocs',
+ 'django.contrib.contenttypes',
+ 'django.contrib.sessions',
+ 'django.contrib.staticfiles',
+ 'rpki.gui.app',
+ 'rpki.gui.cacheview'
+)
+
+TEMPLATE_CONTEXT_PROCESSORS = (
+ "django.contrib.auth.context_processors.auth",
+ "django.core.context_processors.debug",
+ "django.core.context_processors.i18n",
+ "django.core.context_processors.media",
+ "django.contrib.messages.context_processors.messages",
+ "django.core.context_processors.request"
+)
+
+STATIC_URL = '/static/'
+STATIC_ROOT = '%(AC_DATAROOTDIR)s/rpki/gui/static'
+STATICFILES_DIRS = (("admin", "%(AC_DJANGO_DIR)s/contrib/admin/media"),)
+STATICFILES_FINDERS = ("django.contrib.staticfiles.finders.FileSystemFinder",)