Hello,
We're working on a Django 1.3 site on which we're using
django-compressor <https://github.com/mintchaos/django_compressor>. When
DEBUG = True, everything works as expected. When DEBUG = False,
django-compressor throws a 500 claiming that it can't find the unified
CSS file that it just created. How do I know it created it? I can remove
it and on the next request, I'll see a new CSS file named something like
/static/CACHE/css/c70b102e84e3.css which I presume django-compressor
created.
I've run "collectstatic" so the static files that compressor is supposed
to be (and apparently is) combining/compressing are in the directory
defined by settings.STATIC_ROOT.
In base.html, I have:
{% load compress %}
{% compress css %}
<link rel="stylesheet" href="{{ STATIC_URL }}css/globals.css">
<link rel="stylesheet" href="{{ STATIC_URL }}css/typography.css">
<link rel="stylesheet" href="{{ STATIC_URL }}css/grid.css">
<link rel="stylesheet" href="{{ STATIC_URL }}css/ui.css">
<link rel="stylesheet" href="{{ STATIC_URL }}css/forms.css">
<link rel="stylesheet" href="{{ STATIC_URL }}css/orbit.css">
<link rel="stylesheet" href="{{ STATIC_URL }}css/reveal.css">
<link rel="stylesheet" href="{{ STATIC_URL }}css/mobile.css">
{% endcompress %}
What am I missing?
--
Regards,
Clifford Ilkay
Dinamis
1419-3266 Yonge St.
Toronto, ON
Canada M4N 3P6
<http://dinamis.com>
+1 416-410-3326
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.