Skip to content

Conversation

@myers
Copy link

@myers myers commented Feb 1, 2026

Summary

Remove the unused from psycopg2.extensions import quote_ident import from views.py.

This import was never used anywhere in the codebase (grep confirms it only appears on line 22 as the import statement), but it prevents the package from working with psycopg3, which is now the recommended PostgreSQL adapter for Django (since Django 4.2).

Test plan

  • Confirmed quote_ident is not used anywhere in the codebase
  • Tested with psycopg3 - package loads and works correctly

Fixes #162

This import was never used in the codebase and prevents the package
from working with psycopg3, which is now the recommended PostgreSQL
adapter for Django.

Fixes simonw#162
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.

django_sql_dashboard fails with psycopg3

1 participant