django-cruds-adminlte icon indicating copy to clipboard operation
django-cruds-adminlte copied to clipboard

PositiveIntegerField - TemplateDoesNotExist

Open full-stack-dev-mex opened this issue 5 years ago • 1 comments

`

Django Version: 2.2.7
TemplateDoesNotExist
cruds/columns/positiveintegerfield.html
/usr/local/lib/python3.7/site-packages/django/template/backends/django.py in reraise, line 84
/usr/local/bin/python
3.7.4
['/code', '/usr/local/lib/python37.zip', '/usr/local/lib/python3.7', '/usr/local/lib/python3.7/lib-dynload', '/usr/local/lib/python3.7/site-packages']
`
How could there not be a template for PositiveIntegerField?
It seems the template that DOES exist is for PositiveSmallIntegerField .. am I missing something? Do I have to add the template?

any help appreciated, thanks!

full-stack-dev-mex avatar Nov 05 '19 18:11 full-stack-dev-mex

you can just copy the html-file for the field, there isn't anything special in the file itself.

cd cruds_adminlte/templates/cruds/columns/
cp positivesmallintegerfield.html positiveintegerfield.html

benmaier avatar Nov 12 '19 12:11 benmaier