-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SuspiciousFileOperation on Django 4.2.14 django-static-sitemaps 5.0.0 #81
Comments
I have the same error with Django 4.2.16 and django-static-sitemaps 5.0.0
all python-Django code is located here |
I tried to use the lower Django version and found it works with Django 4.2.13 and breaks with Django 4.2.14 (something changed here ) |
django/django@2b00edc - it seems that these changes broke everything |
fixed by replacing absolute path to relative |
yes, it can work locally, but the realities of production life are usually such that the media folder is located outside the code and you need to specify the absolute path |
Hi,
I am again running into something resembling issue #19 ,
it looks like the directory to STATICSITEMAPS_ROOT cannot be absolute with the current setup.
I don't think there is anything bad with absolute paths, as I am running my code on Docker and the path is both
/staticroot
and/mediaroot
and there's a Docker volume mounted.Currently I mitigated this issue by settings in my
settings.py
:... but I guess this is far from ideal.
The traceback:
The text was updated successfully, but these errors were encountered: