aboutsummaryrefslogtreecommitdiff
path: root/rpki/django_settings
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2016-03-28 16:54:38 +0000
committerRob Austein <sra@hactrn.net>2016-03-28 16:54:38 +0000
commit3014ff8f639fddb5e8d186feff027fdcbc4176e5 (patch)
treee7cdb0b2e83b2a6f1384bcb0083b9157160198c2 /rpki/django_settings
parentfc0832791aa6d5c22e08bcfb89fabe5112198698 (diff)
Apparently we lost DOWNLOAD_DIRECTORY while consolidating the GUI's
Django settings with those of all the other ORM-using programs. svn path=/branches/tk705/; revision=6333
Diffstat (limited to 'rpki/django_settings')
-rw-r--r--rpki/django_settings/gui.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/rpki/django_settings/gui.py b/rpki/django_settings/gui.py
index 2c664f91..8e860283 100644
--- a/rpki/django_settings/gui.py
+++ b/rpki/django_settings/gui.py
@@ -107,6 +107,8 @@ def get_allowed_hosts():
ALLOWED_HOSTS = get_allowed_hosts()
+DOWNLOAD_DIRECTORY = cfg.get("download-directory", "/var/tmp", section = "web_portal")
+
# List of callables that know how to import templates from various sources.
TEMPLATE_LOADERS = (
"django.template.loaders.filesystem.Loader",