You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to pass the user object to get_queryset to filter the data. I can successfully pass it in (confirmed using print); however, every time I refresh the page, the datatable initializes twice, and I lose the user object on the second initialization. I have verified that the double initialization is specific to Datatables by using print in other init functions.
Are there any common issues you have seen with this? If not, I can definitely provide the relevant source code.
Thanks!
The text was updated successfully, but these errors were encountered:
i put my changes on git and pypi if you’re interested. I did not spend any time explaining what I changed or writing documentation but I’ve had this deployed for a month now and it definitely works (I have a site with ~100 users that log in and use the tables).
I am trying to pass the user object to get_queryset to filter the data. I can successfully pass it in (confirmed using print); however, every time I refresh the page, the datatable initializes twice, and I lose the user object on the second initialization. I have verified that the double initialization is specific to Datatables by using print in other init functions.
Are there any common issues you have seen with this? If not, I can definitely provide the relevant source code.
Thanks!
The text was updated successfully, but these errors were encountered: