-
-
Notifications
You must be signed in to change notification settings - Fork 340
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
Silk's static assets are served from the wrong path #11
Comments
Hi Matt, You're right. Rather than use /static/silk I just moved everything over to using the staticfiles inclusion tags detailed here. This will use the configured STATICFILES_STORAGE and hence the STATIC_URL that you have configured (I believe). The changes are in master so if you install via --Mike |
Thanks Mike. I tried this, but get this error:
Have tried removing existing silk and installing via your command above. I've upgraded from Django 1.4.2 to 1.5.7 (to get Silk to work) so it's possible I'm missing some settings – I don't have |
Further error info:
|
Hi Matt, master is broken for 1.5 atm - something to do with differences in how templates and namespaces are handled. I managed to break compatibility whilst integrating django-auth... The fix for the static files issue that was originally causing you issues is in Let me know. |
Hi Matt, Was this is issue solved in the end? |
Hi Michael – sorry for the super late reply, just got back from holiday. I added |
No worries, hope you had a good one! FYI its now up to v0.3 - the improved filtering makes it much more useful. |
Appfluence/master
This could just be my setup, but Silk's template uses file paths like:
On my machine, this translates to a request for
http://127.0.0.1:8000/static/silk/css/fonts.css
which doesn't load. I would've expected Silk to use my existingSTATIC_URL
as a prefix for these files.(I realise Silk is probably meant for production not local usage, but I'm curious about what it does before I deploy it anywhere)
The text was updated successfully, but these errors were encountered: