oscarmlage / django-cruds-adminlte

django-cruds is simple drop-in django app that creates CRUD for faster prototyping
BSD 3-Clause "New" or "Revised" License
425 stars 81 forks source link

PositiveIntegerField - TemplateDoesNotExist #135

Open full-stack-dev-mex opened 5 years ago

full-stack-dev-mex commented 5 years ago
` 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!

benmaier commented 5 years ago

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