Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(widgets): use standard way to include static assests
While using `ManifestStaticFilesStorage` there seems to be some issues around use of `staticfilestore.url` in `widgets.py` while running `collectstatic` command. It raises the following `ValueError`: ``` ValueError: The file 'versatileimagefield/css/versatileimagefield.css' could not be found with <whitenoise.django.GzipManifestStaticFilesStorage ``` This issue is not seen with other widgets that use normal method of including Form Assets[1]. Things works fine, after this change. [1] https://docs.djangoproject.com/en/1.9/topics/forms/media/#assets-as-a-static-definition
- Loading branch information