The location of static, media and the sendfile directory is a bit confusing and should be improved. The directories are partly inside each other and the webapp relies on directories and symlinks being present, which are currently not in this repo.
The directory locations should be restructured. They are configured in settings.py and in the nginx config.
Some issues:
When testing locally, downloading the member list as excel file fails due to the sendfile folder "doc" not existing.
In settings.py the media dir is defined as "media/", while in the nginx config it is "/templates/media". On the old server, there was a symlink for boats_gallery from templates/media to media (missing on the new server and in the repo).
As collectstatic also collects the templates directory, many html templates are also accessible under /static. While this does no harm and the app is open source anyway, the templates are never delivered as static content, but rendered by Django.
The location of static, media and the sendfile directory is a bit confusing and should be improved. The directories are partly inside each other and the webapp relies on directories and symlinks being present, which are currently not in this repo. The directory locations should be restructured. They are configured in settings.py and in the nginx config.
Some issues: