diff --git a/InvenTree/InvenTree/settings.py b/InvenTree/InvenTree/settings.py index 5b6b308522..66f22be9e4 100644 --- a/InvenTree/InvenTree/settings.py +++ b/InvenTree/InvenTree/settings.py @@ -17,10 +17,12 @@ import logging import tempfile import yaml + def eprint(*args, **kwargs): """ Print a warning message to stderr """ print(*args, file=sys.stderr, **kwargs) + # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))