From 3014ff8f639fddb5e8d186feff027fdcbc4176e5 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Mon, 28 Mar 2016 16:54:38 +0000 Subject: 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 --- rpki/django_settings/gui.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rpki/django_settings') 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", -- cgit v1.2.3