Closed qris closed 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.
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.