You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add this to template: {% assets "admin/js/vendor/jquery/jquery.js", output="jquery.js" %}{% endassets %}
django-assets will crash with BundleError (file does not exist)
Set ASSETS_DEBUG = True
Everything will work fine.
Expected
Step 4. Everything works fine.
In other words, if ASSETS_DEBUG is not set explicitly, django-assets should follow Django DEBUG setting (and use staticfiles finders). Right now we are forced to change these settings simultaneously.
The text was updated successfully, but these errors were encountered:
Steps to reproduce
DEBUG = True
, do not setASSETS_DEBUG
manage.py collectstatic
{% assets "admin/js/vendor/jquery/jquery.js", output="jquery.js" %}{% endassets %}
BundleError
(file does not exist)ASSETS_DEBUG = True
Expected
Step 4. Everything works fine.
In other words, if
ASSETS_DEBUG
is not set explicitly, django-assets should follow DjangoDEBUG
setting (and use staticfiles finders). Right now we are forced to change these settings simultaneously.The text was updated successfully, but these errors were encountered: