In order to follow the established plugin naming convention dj_urls is now django-jsurls. Also I got sick of typing dj_jsurls so the js root is now jsurls.
There is templatetags/jsurls - get_jsurls_static_prefix and urls.jsurls_urlpatterns to work around the fact that django.contrib.staticfiles.staticfiles_urlpatterns eats all /static/ paths
Lastly, there is a manage.py generate_static_jsurls to build the static production version of the jsurls.js file.
No comments:
Post a Comment