2

When I try to this on my base template

{% load compressed %}

{% compressed_js 'app_name' %} <- fails here

This is my settings.py file:

PIPELINE_JS = {
    'app_name': {
        'source_filenames': (
          'static/js/bootstrap.js',
        )
    }
}

are this paths right?

I get:

Exception Value:    
expected string or buffer

any clues?

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Martin Volpe
  • 91
  • 1
  • 9

0 Answers0