Thus Django was unable to find the templates or static files.
The data_files attribute in setup.py does not appear to be designed for the likes of django templates/static files. Simply removing it has resolved the problem for me. However I'm not an expert on setup.py so I may be missing some nuance as to why data_files was being used...
$ pip install django-olwidget==0.61.0
on a docker container (i.e. not within a virtualenv) resulted in the following distribution of files:
Thus Django was unable to find the templates or static files.
The
data_files
attribute insetup.py
does not appear to be designed for the likes of django templates/static files. Simply removing it has resolved the problem for me. However I'm not an expert onsetup.py
so I may be missing some nuance as to whydata_files
was being used...