Hi Joni,
Yes I have 'compressor.finders.CompressorFinder' added. All the
requirements are installed too I double checked them all, tried installing
them all individually and it said they were all installed already. When I
first setup the site it was using django1.3, but recently upgraded it.
Just to cover the basics, did you follow all installation steps described
here:
http://django_compressor.readthedocs.org/en/latest/quickstart/#installation
Mainly adding 'compressor.finders.CompressorFinder' to STATICFILES_FINDERS
Another thing kind of odd is that your css URL starts with /medi
Hi Joni,
Thanks a million for reply.
Yes I am using django runserver, its a working site just trying to get
compressor working locally before moving to production. My css works fine
without the compressor app. I can't see the file if I copy it in my url I
get a 500 error and the "CACHE" folder
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 y
Hi,
Django1.4, Python2.7
I am currently trying to get django compressor to work locally, I installed
django_compressor via pip install earlier, added it to my installed apps.
Here is a copy of my base template
{% load i18n %}
{% load compress %}
5 matches
Mail list logo