From 5e1d9f009ef35e7408be2045ccc05baf2e38441e Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Mon, 16 May 2016 21:03:50 +0200 Subject: [PATCH] add LETTERHEAD_PDF_PATH to settings --- bornhack/settings/development.py | 1 + bornhack/settings/production.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/bornhack/settings/development.py b/bornhack/settings/development.py index a58764ff..f0dc71bc 100644 --- a/bornhack/settings/development.py +++ b/bornhack/settings/development.py @@ -17,3 +17,4 @@ DATABASES = { } EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' +LETTERHEAD_PDF_PATH = os.path.join(local_dir('static_src'), 'pdf', 'bornhack_2016_test_letterhead.pdf') diff --git a/bornhack/settings/production.py b/bornhack/settings/production.py index 53a08dcc..98fabf07 100644 --- a/bornhack/settings/production.py +++ b/bornhack/settings/production.py @@ -46,3 +46,5 @@ LOGGING = { ADMINS = ( ('bornhack sysadm', 'sysadm@bornhack.org'), ) + +LETTERHEAD_PDF_PATH = os.path.join(local_dir('static_src'), 'pdf', 'bornhack_2016_letterhead.pdf')