Skip to content

Conversation

@jayvdb
Copy link

@jayvdb jayvdb commented Sep 17, 2020

No description provided.

@jayvdb
Copy link
Author

jayvdb commented Sep 17, 2020

https://github.com/dabapps/django-zen-queries/blob/master/zen_queries/decorators.py is a better approach, allowing per-connection, but that requires hooking into create_cursor, which is a bit harder, and diverges from the current approach used for the global readonly code (which was not being tested). So I think it is better to stick to one approach at the moment.

@jayvdb
Copy link
Author

jayvdb commented Sep 29, 2024

Ping @streeter

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

Successfully merging this pull request may close these issues.

1 participant