[Bug 1379761] Re: Asset compression does not happen unless debug mode is enabled
git describe 2014.2.rc1-145-g123840a that is my current version where it works -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1379761 Title: Asset compression does not happen unless debug mode is enabled To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1379761/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1379761] Re: Asset compression does not happen unless debug mode is enabled
it works for me, following these steps: Change local settings, have the following at the top of the file: DEBUG = False TEMPLATE_DEBUG = DEBUG COMPRESS_OFFLINE = True Then I run these commands: tools/with_venv.sh python manage.py collectstatic --noinput tools/with_venv.sh python manage.py compress --force The compress step produces this to the console: Invalid template /home/eric/work/public/horizon/horizon/templates/horizon/common/_formset_table_row.html: Invalid block tag: 'blocktrans', expected 'empty' or 'endfor' Found 'compress' tags in: /home/eric/work/public/horizon/openstack_dashboard/templates/_stylesheets.html /home/eric/work/public/horizon/horizon/templates/horizon/_conf.html /home/eric/work/public/horizon/horizon/templates/horizon/_scripts.html Compressing... done Compressed 4 block(s) from 3 template(s). eric@eric-VirtualBox:~/work/public/horizon$ While there is an error / warning, it does complete ok and is useable. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1379761 Title: Asset compression does not happen unless debug mode is enabled To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1379761/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1379761] Re: Asset compression does not happen unless debug mode is enabled
additional note: when you do offline compression and stuff get's moved into the static folder, using the --runserver cli to start up django will not serve out the /static url. for this type of use, I believe it's expected that apache would serve out those assets from the ./static folder (which is how I do work, with modwsgi etc) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to horizon in Ubuntu. https://bugs.launchpad.net/bugs/1379761 Title: Asset compression does not happen unless debug mode is enabled To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1379761/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs