From aa1c9483673bdce3046114edee646c10a21c524a Mon Sep 17 00:00:00 2001 From: Nanoy Date: Sun, 28 Apr 2019 13:08:51 +0200 Subject: [PATCH] Modifs --- coopeV3/settings.py | 2 +- django_tex/core.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/coopeV3/settings.py b/coopeV3/settings.py index 089e45c..4a4abca 100644 --- a/coopeV3/settings.py +++ b/coopeV3/settings.py @@ -124,6 +124,6 @@ STATIC_ROOT = os.path.join(BASE_DIR, 'static') LOGIN_URL = '/users/login' -MEDIA_ROOT = 'mediafiles/' +MEDIA_ROOT = os.path.join(BASE_DIR, 'mediafiles') MEDIA_URL = '/media/' diff --git a/django_tex/core.py b/django_tex/core.py index 9a3a927..6d67d5f 100644 --- a/django_tex/core.py +++ b/django_tex/core.py @@ -8,7 +8,7 @@ from django.template.loader import get_template from django_tex.exceptions import TexError from django.conf import settings -DEFAULT_INTERPRETER = 'lualatex' +DEFAULT_INTERPRETER = 'pdflatex' def run_tex(source): """