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
Documentation - Mention collectstatic #686
Comments
Are you running your project with |
In a development environment, you shouldn't have to use |
Hmm. Maybe I have my dev environment set up wrong. I didn't put a ton of Thanks, and sorry for the trouble On Tue, Feb 3, 2015 at 10:07 AM, Tim Schilling notifications@github.com
|
No problem. You should be able to run your project with |
I ran into this issue too and I suggest we re-open this bug. The problem is that you might be running with I was struggling to get the toolbar working until I opened the browser console for something else and discovered that the files were returning 404's. At that point I ran Can we add something to the docs that says:
That'd go a long ways for people with setups like mine. |
This isn't specific to the toolbar. You'd have the same behavior with any other application that uses static files e.g. django.contrib.admin. We don't want to duplicate Django's documentation -- in this case, the documentation of the staticfiles app. |
It's a small thing to add a line about this and it'll save some people lots of time and trouble. Your call, but in my experience very few Django apps require this step b/c most don't have static resources. At least for me, this wasn't something I was thinking about in the least. |
I'm still reluctant to recommend a step that will be unnecessary for 99,99% of developers, given that runserver serves static files out of the box. There's enough confusion around staticfiles already. If you use a non-standard development setup, you're a little bit on your own. |
In the quickstart guide, you mention making sure django's static file serving is working. But for some setups, you also have to run collectstatic for the static files to be visible. You might want to mention that there, unless you think it goes without saying.
The text was updated successfully, but these errors were encountered: