I just installed django-compressor for my project and I am getting below error message.
TemplateSyntaxError at / Caught UncompressableFileError while rendering: 'js / jquery-1.7.2.min.js' could not be found in COMPRESS_ROOT '/ Users / taelimoh / Dropbox / gluwagit / static' or with staticfiles.
This also happens when I try to compress css files.
Of course, there are files, and it works fine when I don't try to compress them using django-compress.
below is my template
... {% compress js %} <script type="text/javascript" src="/static/js/jquery-1.7.2.min.js"></script> {% endcompress %} ...
and these are my .py settings
COMPRESS_ENABLED = True STATICFILES_FINDERS = ( 'django.contrib.staticfiles.finders.FileSystemFinder', 'django.contrib.staticfiles.finders.AppDirectoriesFinder', 'compressor.finders.CompressorFinder', ) INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'django.contrib.admindocs', 'django.contrib.humanize',
I use the google engine and my django version is 1.3. The problem was released on my development server.
source share