Ecotrust/bioregion-discovery — Issue #44: Get server "production ready"
Author: perrygeo
Created: 2012-02-22 20:35:52+00:00
State: open

Do some testing to make sure DEBUG=False (ie production mode) is working properly.

This will require the installation of csstidy to compile css files.

Als, since the css and js are no longer loaded individually, they are instead compressed into single files for speed. These single files might be at different paths than the original css/js files so relative paths may break. So far We've noticed this at:

The expand_collapse gif.
When DEBUG=False, it tries this URL
/media/common/css/images/sprites/expand_collapse.gif?1306527742
But when DEBUG=True, it uses this URL (the correct one)
/media/bmm/css/images/sprites/expand_collapse.gif?1306527742

We need to make the paths consistent regardless of DEBUG setting.

Google Code Info:
Issue #: 44
Author: perrygeo...@gmail.com
Created On: 2011-08-05T18:25:31.000Z
Closed On: 2011-08-23T15:22:32.000Z