Asset compression does not happen unless debug mode is enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Invalid
|
High
|
Unassigned | ||
horizon (Ubuntu) |
Fix Released
|
High
|
James Page | ||
python-django-pyscss (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Juno/rc1 of OpenStack on utopic; the dashboard is unthemed and the compressed assets are missing unless DEBUG = True in local settings, at which point things look much better.
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: openstack-dashboard 1:2014.
ProcVersionSign
Uname: Linux 3.16.0-20-generic x86_64
ApportVersion: 2.14.7-0ubuntu5
Architecture: amd64
Date: Fri Oct 10 11:26:21 2014
Ec2AMI: ami-000000af
Ec2AMIManifest: FIXME
Ec2Availability
Ec2InstanceType: m1.small
Ec2Kernel: aki-00000002
Ec2Ramdisk: ari-00000002
PackageArchitec
SourcePackage: horizon
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile.
mtime.conffile.
Changed in horizon: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
Changed in horizon (Ubuntu): | |
importance: | Undecided → High |
tags: | added: juno-rc-potential |
Changed in horizon: | |
importance: | Critical → High |
status: | Confirmed → Incomplete |
Changed in python-django-pyscss (Ubuntu): | |
status: | New → Invalid |
Changed in horizon (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → James Page (james-page) |
tags: |
added: juno-backport-potential removed: juno-rc-potential |
Changed in horizon: | |
status: | Incomplete → Invalid |
I'm assuming that this is something todo with how django-pyscss behaves under DEBUG mode:
https:/ /github. com/fusionbox/ django- pyscss
specifically:
In DEBUG mode, DjangoScss will search using all of the finders to find the file. If you are not in DEBUG mode, it assumes you have run collectstatic and will only use staticfiles_storage to find the file.