#21913 closed Bug (worksforme)
Error 400 without any information if user uploads file to STATIC_ROOT
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | File uploads/storage | Version: | 1.6 |
| Severity: | Normal | Keywords: | upload, 400 |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
When user uploads file (at least from admin interface), and path to save of the file coincides with STATIC_ROOT, server response error 400 (bad request). Django no way says about the error is. It took me a very long time to understand the settings and nginx uwsgi, and only thanks to the intuition I have determined what is the error. Please, at least say about it feature in the comments of settings.py file.
Change History (2)
comment:1 by , 12 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
comment:2 by , 12 years ago
Oh, I didn't know that there is a detailed documentation on "settings.py" file. Thank you.
Note:
See TracTickets
for help on using tickets.
I'm sorry you ran into the issue. This is addressed in settings documentation for MEDIA_ROOT. We're trying not to put a lot of documentation in
settings.py.