docs: update project name

This commit is contained in:
Kristofers Solo 2024-09-12 16:14:08 +03:00
parent b24a924a4f
commit 461911b3d6

View File

@ -72,13 +72,15 @@ logger.critical("This is a critical message")
In your Django project's `settings.py` file, add the following logging configuration: In your Django project's `settings.py` file, add the following logging configuration:
```python ```python
BASE_DIR = Path(__file__).resolve().parent.parent
LOGGING = { LOGGING = {
"version": 1, "version": 1,
"disable_existing_loggers": False, "disable_existing_loggers": False,
"formatters": { "formatters": {
"bunyan": { "bunyan": {
"()": BunyanFormatter, "()": BunyanFormatter,
"project_name": "cashflow", "project_name": "MyProject",
"project_root": BASE_DIR, "project_root": BASE_DIR,
}, },
}, },