django-vite icon indicating copy to clipboard operation
django-vite copied to clipboard

Use staticfiles.storage to generate URLs

Open blighj opened this issue 2 years ago • 0 comments

For Vite production mode it seems like it would be useful to use django staticfiles.storage.staticfiles_storage.url method, if staticfiles is installed, similar to how Django's own static template tag works. https://github.com/django/django/blob/0dd29209091280ccf34e07c9468746c396b7778e/django/templatetags/static.py

blighj avatar Aug 17 '22 23:08 blighj