Fixing STATIC_FORMS_ROOT search path
This commit is contained in:
parent
440163e504
commit
77713d81b0
3 changed files with 9 additions and 3 deletions
|
@ -15,7 +15,7 @@ class PopplerController(object):
|
|||
|
||||
search = [
|
||||
os.path.abspath(pdf),
|
||||
os.path.abspath(os.path.join(settings.STATIC_FORMS_ROOT, pdf)),
|
||||
os.path.abspath(os.path.join(getattr(settings, 'STATIC_FORMS_ROOT', ''), pdf)),
|
||||
]
|
||||
|
||||
for path in search:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue