From a68770a785b96e5c89abc72d0c71416f3dc1db30 Mon Sep 17 00:00:00 2001 From: Pierre Sassoulas Date: Sun, 9 Feb 2020 21:12:33 +0100 Subject: [PATCH] Easier testing in the example project --- example_project/example_project/settings.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/example_project/example_project/settings.py b/example_project/example_project/settings.py index 1504ecf5..c15448c3 100644 --- a/example_project/example_project/settings.py +++ b/example_project/example_project/settings.py @@ -11,10 +11,12 @@ """ import os +from pathlib import Path # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) - +# CSV_DIRECTORY = Path(__file__).parent.parent.joinpath("csv") +# TEX_DIRECTORY = Path(__file__).parent.parent.joinpath("tex") # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/