#34344: PostGIS Database Backend Overrides features_class, ops_class and
introspection_class
-------------------------------------+-------------------------------------
Reporter: David Buhler | Owner: nobody
Type: | Status: closed
Cleanup/optimization |
Component: GIS | Version: dev
Severity: Normal | Resolution: needsinfo
Keywords: geodjango postgis | Triage Stage:
database backend | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):
* status: new => closed
* resolution: => needsinfo
Comment:
Thanks for this ticket, however using `features_class`, `ops_class`, and
`introspection_class` will cause initializing PostGIS stuff for non-db
connections (see 7e714827ead50f77aa82394cc2511ff96ab67fa4 and #16969) as
they will be initialized in `PsycopgDatabaseWrapper.__init__()` and
`NO_DB_ALIAS`-branch doesn't change anything anymore. Is there a way to
use `features_class`, `ops_class`, and `introspection_class` in a backward
compatible way?
--
Ticket URL: <https://code.djangoproject.com/ticket/34344#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/010701865db37e31-15312834-4c7a-43b7-b692-411aa7588255-000000%40eu-central-1.amazonses.com.