Skip to content

Instantly share code, notes, and snippets.

@ashchristopher
Created December 14, 2012 18:57
Show Gist options
  • Select an option

  • Save ashchristopher/4287681 to your computer and use it in GitHub Desktop.

Select an option

Save ashchristopher/4287681 to your computer and use it in GitHub Desktop.
In settings.py:
STATIC_URL = 'http://app.wave-test.com/sitestatic/'
In template:
{% compress js %}
<script type="text/javascript" src="{{ STATIC_URL }}js/vendor/require/require.js"></script>
{% endcompress %}
Error during template rendering:
In template /vagrant/django-float/float/templates/float/base.html, error at line 292
'http://app.wave-test.com/sitestatic/js/vendor/require/require.js' isn't accessible via COMPRESS_URL ('/sitestatic/') and can't be compressed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment