move PDF letterhead path to env

This commit is contained in:
Thomas Steen Rasmussen 2016-05-30 18:49:53 +02:00
parent f33470034d
commit e9adcdd1cf
4 changed files with 3 additions and 2 deletions

View file

@ -105,3 +105,5 @@ COINIFY_API_KEY = env('COINIFY_API_KEY')
COINIFY_API_SECRET = env('COINIFY_API_SECRET') COINIFY_API_SECRET = env('COINIFY_API_SECRET')
PDF_ARCHIVE_PATH='/usr/local/www/pdf_archive/' PDF_ARCHIVE_PATH='/usr/local/www/pdf_archive/'
LETTERHEAD_PDF_PATH = os.path.join(local_dir('static_src'), 'pdf', env('PDF_LETTERHEAD_FILENAME'))

View file

@ -17,4 +17,3 @@ DATABASES = {
} }
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
LETTERHEAD_PDF_PATH = os.path.join(local_dir('static_src'), 'pdf', 'bornhack_2016_test_letterhead.pdf')

View file

@ -13,3 +13,4 @@ EPAY_MD5_SECRET=something
TICKET_CATEGORY_ID='' TICKET_CATEGORY_ID=''
COINIFY_API_KEY='' COINIFY_API_KEY=''
COINIFY_API_SECRET='' COINIFY_API_SECRET=''
PDF_LETTERHEAD_FILENAME=''

View file

@ -48,4 +48,3 @@ ADMINS = (
('bornhack sysadm', 'sysadm@bornhack.org'), ('bornhack sysadm', 'sysadm@bornhack.org'),
) )
LETTERHEAD_PDF_PATH = os.path.join(local_dir('static_src'), 'pdf', 'bornhack_2016_letterhead.pdf')