STATICFILES_DIRS must be set for dev, docs could be improved
|Reported by:||romaniuk||Owned by:||Jannis Leidel|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The documentation for the STATICFILES_DIRS setting at:
mentioned that it's required "if you use ... the static file serving view".
But it would be really great if this was mentioned also in the documentation for serving static files in development here:
By the way, if you don't set STATICFILES_DIRS, instead of getting your static file you'll be served a very simple page that says "Page not found: path/to/staticfile". I spend hours debugging this, not realizing the setting was required. If you'd like me to submit a patch to the documentation, could you give me starting point for how to do this, as I am very new here.
Change History (3)
comment:1 Changed 6 years ago by
|Owner:||changed from nobody to Jannis Leidel|
|Patch needs improvement:||unset|
|Status:||new → assigned|
|Triage Stage:||Unreviewed → Accepted|