Closed ShubhamKarala closed 1 month ago
Weird I never seen this problem
Having the same issue. Any updates?
Would be helpful if one of you could share the options they used to generate their project, as there is very little to go by right now. Help us help you 😄
Hi there,
the Django Debug Toolbar is responsible for the Attribute Error, deactivating all options, than reactivating solved the issue. Sorry for the inconvenience.
What happened?
AttributeError: This FileResponse instance has no `content` attribute. Use `streaming_content` instead.
I am getting this error while clicking on any media download link in django admin. I checked inside docker container and files are stored properly. I have used cookiecutter to start the project.
When i
What should've happened instead?
File should be downloaded.
Additional details
Host system configuration:
cookiecutter --version
): Cookiecutter 1.7.3 from C:\Python310\lib\site-packages (Python 3.1)On Linux, run
On MacOs, run
On Windows, via CMD, run
python3 -V
: Python 3.12.3docker --version
: Docker version 26.1.4, build 5650f9bdocker compose --version
: Docker Compose version v2.27.1-desktop.1Options selected and/or replay file: On Linux and macOS:
cat ${HOME}/.cookiecutter_replay/cookiecutter-django.json
(Please, take care to remove sensitive information)