{"action":"created","issue":{"url":"https://api.github.com/repos/edx/ecommerce/issues/649","repository_url":"https://api.github.com/repos/edx/ecommerce","labels_url":"https://api.github.com/repos/edx/ecommerce/issues/649/labels{/name}","comments_url":"https://api.github.com/repos/edx/ecommerce/issues/649/comments","events_url":"https://api.github.com/repos/edx/ecommerce/issues/649/events","html_url":"https://github.com/edx/ecommerce/pull/649","id":145176054,"number":649,"title":"WL-330: Multi-Site Branding in Otto","user":{"login":"saleem-latif","id":7114956,"avatar_url":"https://avatars.githubusercontent.com/u/7114956?v=3","gravatar_id":"","url":"https://api.github.com/users/saleem-latif","html_url":"https://github.com/saleem-latif","followers_url":"https://api.github.com/users/saleem-latif/followers","following_url":"https://api.github.com/users/saleem-latif/following{/other_user}","gists_url":"https://api.github.com/users/saleem-latif/gists{/gist_id}","starred_url":"https://api.github.com/users/saleem-latif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saleem-latif/subscriptions","organizations_url":"https://api.github.com/users/saleem-latif/orgs","repos_url":"https://api.github.com/users/saleem-latif/repos","events_url":"https://api.github.com/users/saleem-latif/events{/privacy}","received_events_url":"https://api.github.com/users/saleem-latif/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2016-04-01T13:04:27Z","updated_at":"2016-04-18T07:58:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edx/ecommerce/pulls/649","html_url":"https://github.com/edx/ecommerce/pull/649","diff_url":"https://github.com/edx/ecommerce/pull/649.diff","patch_url":"https://github.com/edx/ecommerce/pull/649.patch"},"body":"Hi @mattdrayer \r\n\r\nI have completed changes related to WL-330, Kindly review these changes and share your thoughts on this.\r\n\r\n__Description of WL-330:__\r\nChanges included customization of\r\n* Static Files Finders and Static Storage\r\n* Sass compilation workflow\r\n* Template Loaders\r\n\r\nand helper functions for enabling comprehensive theming for Otto.\r\n"},"comment":{"url":"https://api.github.com/repos/edx/ecommerce/issues/comments/211250907","html_url":"https://github.com/edx/ecommerce/pull/649#issuecomment-211250907","issue_url":"https://api.github.com/repos/edx/ecommerce/issues/649","id":211250907,"user":{"login":"saleem-latif","id":7114956,"avatar_url":"https://avatars.githubusercontent.com/u/7114956?v=3","gravatar_id":"","url":"https://api.github.com/users/saleem-latif","html_url":"https://github.com/saleem-latif","followers_url":"https://api.github.com/users/saleem-latif/followers","following_url":"https://api.github.com/users/saleem-latif/following{/other_user}","gists_url":"https://api.github.com/users/saleem-latif/gists{/gist_id}","starred_url":"https://api.github.com/users/saleem-latif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saleem-latif/subscriptions","organizations_url":"https://api.github.com/users/saleem-latif/orgs","repos_url":"https://api.github.com/users/saleem-latif/repos","events_url":"https://api.github.com/users/saleem-latif/events{/privacy}","received_events_url":"https://api.github.com/users/saleem-latif/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T07:58:20Z","updated_at":"2016-04-18T07:58:20Z","body":"@jimabramson After reviewing @clintonb 's suggestion [here](https://openedx.atlassian.net/browse/WL-330?focusedCommentId=183132&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-183132), I was able to implement a way to compress all themed templates. \r\nI have removed the commit of \"gracefully fail offline compression\" (so discard my [previous comment](https://github.com/edx/ecommerce/pull/649#issuecomment-211212837)).\r\nI have squashed the commits and rebased the branch with master. [This](https://github.com/edx/ecommerce/blob/saleem-latif/WL-330/ecommerce/theming/compressor.py#L1-L26), [this](https://github.com/edx/ecommerce/blob/saleem-latif/WL-330/ecommerce/templates/edx/base.html#L15-L21) and [this](https://github.com/edx/ecommerce/blob/saleem-latif/WL-330/ecommerce/templates/rest_framework_swagger/index.html#L12-L24) is the change set to resolves compression problem. This approach also requires to use [`django-compressor=2.0`](https://github.com/edx/ecommerce/blob/saleem-latif/WL-330/requirements/base.txt#L4), please let me know if the version can be updated like this, or their would be other changes required in the system to make version update."}}