diff --git a/.gitignore b/.gitignore index 62f4aa3..9964af6 100644 --- a/.gitignore +++ b/.gitignore @@ -173,4 +173,5 @@ cython_debug/ # and can be added to the global gitignore or merged into this file. For a more nuclear # option (not recommended) you can uncomment the following to ignore the entire idea folder. #.idea/ - +# Avoiding public key leakage +/config.py diff --git a/config.example.py b/config.example.py new file mode 100644 index 0000000..e69de29 diff --git a/config.py b/config.py new file mode 100644 index 0000000..e69de29 diff --git a/tldtest/settings.py b/tldtest/settings.py index 962a54a..dc7908e 100644 --- a/tldtest/settings.py +++ b/tldtest/settings.py @@ -11,6 +11,7 @@ https://docs.djangoproject.com/en/3.1/ref/settings/ """ from pathlib import Path +import config # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent