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

Unable to use render_table while also using user_authentication #706

Closed
CKDarling opened this issue Oct 19, 2019 · 1 comment
Closed

Unable to use render_table while also using user_authentication #706

CKDarling opened this issue Oct 19, 2019 · 1 comment

Comments

@CKDarling
Copy link

CKDarling commented Oct 19, 2019

I am attempting to recreate the FilteredPersonListView table in the example app in the repository. I am able to render tables if I utilized {% render_table object_list %}, but when I attempt to use {% render_table table %} It fails. I made this Stack Overflow post attempting to ask the community for ideas.

I am having large recursion issues. Sometimes my Django instance will load an AttributeError related to the context variable. I sometimes see a fatal stack overflow error.

Please help!

@CKDarling
Copy link
Author

I was able to fix my problem.

My issue was related to my tables.py. The first iteration of this file utilized this line:

template_name = "device_app/device_list.html"

Replacing the previously shown line with this:

template_name = "django_tables2/bootstrap.html"

Eliminated my issue.

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

1 participant