Saturday, September 1, 2012

setting up Django Compressor

The generated css file seems to be in your media directory. If you copy that URL, can you see the css file? Are you using Django's dev server (runserver)? If so, did you add to your urls.py a view to serve the media files? (and that view should only exist when DEBUG is true since in production you're probably going to serve static files and media files directly with your webserver)

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/jHs112LcrVAJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment