My default Django settings file has changed over time to now include settings that do not depend on the location of the project on the filesystem. This is great in a team environment where more than one person is working on the same project, or when deploying your project to a web server that likely has different paths to the project root directory.
There are essentially 2 places that are looking for a filesystem path:
- Templates
- Media
Let's assume the following directory structure for a Django project:
.
|-- media
|-- myproject
|-- __init__.py
|-- manage.py
|-- settings.py
|-- templates
| |-- base.html
|-- urls ...