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

Issue in get_initial_queryset #112

Open
Palaniyappan12 opened this issue Apr 6, 2023 · 0 comments
Open

Issue in get_initial_queryset #112

Palaniyappan12 opened this issue Apr 6, 2023 · 0 comments

Comments

@Palaniyappan12
Copy link

Hi, thanks for your project. I'm working on project, where I need to implement a datatable based on a query. So I implemented this with the help of get_initial_queryset method. The issue is that the data is not rendered correctly, it just returns ???. I was able to find the reason, when we use values() it returns a Queryset that contains dictionary. Therefore it raises an issue, I could use only() but I need to group_by certain fields in that query. So is it possible to implement a datatable with the method get_initial_queryset that returns a query involving values()?

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