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

Suggestion to replace named path for static assets into a new view

Open ryanchausse opened this issue 2 years ago • 1 comments

https://github.com/fle/django-jsignature/blob/4883e37c1a83919af35e6d92b748151729a6e253/jsignature/widgets.py#L100

I was thinking that we could write a view or perhaps modify this in place so that we are importing the "static" directory template and JS files here instead of as a hard-coded path. Was running into an issue on production where static assets are served from a different directory.

ryanchausse avatar Apr 29 '22 07:04 ryanchausse

Statics are handled in a standard way in the widget, what was your issue in production? Is this related to importing jQuery?

SebCorbin avatar Apr 29 '22 14:04 SebCorbin