0

One small issue that I have been having with Django-Mediagenerator is that when using the include_media tag...

{% load media %}
{% include_media 'my_style.css' %}

... an error is thrown unless the my_style.css media bundle exists. However, in some cases, this would mean that my media bundle contains only one file.

Is there a way to avoid creating media bundles for individual files?

NT3RP
  • 15,262
  • 9
  • 61
  • 97

1 Answers1

0

It appears that there is no way to do this using Django-mediagenerator. The only way to do this would be to use static-files for some parts, and media bundles for others (defeating the purpose of using Django-mediagenerator).

NT3RP
  • 15,262
  • 9
  • 61
  • 97