Opened 14 years ago

Last modified 13 years ago

#13934 closed

GeoSQLCompiler.get_default_columns() is missing local_only parameter — at Initial Version

Reported by: Simon Law Owned by: nobody
Component: GIS Version: 1.2
Severity: Keywords: select_related local_only get_default_columns GeoDjango GeoSQLCompiler
Cc: simon@… Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

If you try to select_related() with a GeoManager, things get pretty nasty with Django 1.2.

You get a TypeError, claiming that get_default_columns() does not support the local_only parameter.

Included is a patch that ports the functionality over.

Change History (1)

by Simon Law, 14 years ago

Attachment: gis-local_only.patch added
Note: See TracTickets for help on using tickets.
Back to Top