]> review.fuel-infra Code Review - openstack-build/horizon-build.git/commitdiff
Use the pregenerated css and js files
authorMehdi Abaakouk <sileht@sileht.net>
Fri, 21 Sep 2012 14:37:41 +0000 (16:37 +0200)
committerMehdi Abaakouk <sileht@sileht.net>
Fri, 21 Sep 2012 14:37:41 +0000 (16:37 +0200)
Rewritten-From: cff0eedc6ae774303a790ecc7e04c7cb94f48bfe

xenial/debian/patches/debian_local_settings.patch [new file with mode: 0644]

diff --git a/xenial/debian/patches/debian_local_settings.patch b/xenial/debian/patches/debian_local_settings.patch
new file mode 100644 (file)
index 0000000..6dd4711
--- /dev/null
@@ -0,0 +1,14 @@
+Description: Enable Offline Compresssion
+Author: Mehdi Abaakouk <sileht@sileht.net>
+
+--- a/openstack_dashboard/local/local_settings.py.example
++++ b/openstack_dashboard/local/local_settings.py.example
+@@ -145,3 +145,8 @@
+             }
+         }
+ }
++
++# The Debian package includes pre-compressed JS and compiled CSS to allow
++# offline compression by default.  To enable online compression, install
++# the node-less package and enable the following option.
++COMPRESS_OFFLINE = True