Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PositiveIntegerField - TemplateDoesNotExist #135

Open
full-stack-dev-mex opened this issue Nov 5, 2019 · 1 comment
Open

PositiveIntegerField - TemplateDoesNotExist #135

full-stack-dev-mex opened this issue Nov 5, 2019 · 1 comment

Comments

@full-stack-dev-mex
Copy link

full-stack-dev-mex commented Nov 5, 2019

`

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants