Hi Eduardo, thanks, I solved with your info and disabling memcached, it shown problems of permisssions.
On Wednesday, July 16, 2014 11:29:11 AM UTC+2, Luigi wrote: > > Hello to all, > I am trying to let django-compressor working with mezzanine. > For first attempt I simply installed django compressor and changed DEBUG = > False but nothing changed in HTML generated from Django. > So I followed the docs of django compressor and I modified my settings.py: > > STATICFILES_FINDERS = ( > "django.contrib.staticfiles.finders.FileSystemFinder", > #"django.contrib.staticfiles.finders.AppDirectoriesFinder", > #'django.contrib.staticfiles.finders.DefaultStorageFinder', > "compressor.finders.CompressorFinder", > ) > > INSTALLED_APPS = ( > "django.contrib.admin", > "django.contrib.auth", > "django.contrib.contenttypes", > "django.contrib.redirects", > "django.contrib.sessions", > "django.contrib.sites", > "django.contrib.sitemaps", > "django.contrib.staticfiles", > "mezzanine.boot", > "mezzanine.conf", > "mezzanine.core", > "mezzanine.generic", > "mezzanine.blog", > "mezzanine.forms", > "mezzanine.pages", > "mezzanine.galleries", > "mezzanine.twitter", > #"mezzanine.accounts", > #"mezzanine.mobile", > #'debug_toolbar', > "compressor", > ) > > OPTIONAL_APPS = ( > #"debug_toolbar", > "django_extensions", > #"compressor", I commented it to follow the django-compressor doc > PACKAGE_NAME_FILEBROWSER, > PACKAGE_NAME_GRAPPELLI, > ) > > COMPRESS_ENABLED = True > COMPRESS_ROOT = STATIC_ROOT > > > and nothing happened until I launched: python manage.py compress --force > So now I have the cache populated and the HTML generated from Django > points to the files in CACHE like:"<link rel="stylesheet" > href="/static/CACHE/css/16e8b98f5bd3.css" type="text/css" media="screen">", > but the files are not minified, django compressor simply copied them and > changed the name. > Do you know why the compressor not minify them? > Thanks for your help. > -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
