miracle2k / django-assets

Django webassets integration.
BSD 2-Clause "Simplified" License
89 stars 79 forks source link

Use ASSETS_DEBUG instead of DEBUG #30

Closed qris closed 10 years ago

qris commented 10 years ago

Django sets DEBUG to False while running unit tests. Thus, DEBUG is not a good indicator for staticfiles usage, but ASSETS_DEBUG is a better one.

This problem is described in https://github.com/miracle2k/django-assets/issues/3.

This is a replacement for https://github.com/miracle2k/django-assets/pull/17 which pulls in just the relevant patch.