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

Use a setting to allow changing the default template. #434

Closed
jieter opened this issue Apr 10, 2017 · 0 comments · Fixed by mozilla/addons-server#5186 or drummonds/bene#50
Closed

Comments

@jieter
Copy link
Owner

jieter commented Apr 10, 2017

Currently, the default template is tables/table.html, but if a project uses a different template, it has to be added to either every template tag or every table definition.

This can be solved by allowing the default template to be defined in a setting, for example

TABLES2_DEFAULT_TEMPLATE = 'django_tables2/bootstrap.html'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment