﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
22793	GIS migrations tests attempt to import GeometryColumns from non-existing location	Aymeric Augustin	nobody	"In `django/contrib/gis/tests/gis_migrations/test_operations.py`:

{{{
    try:
        from django.contrib.gis.models import GeometryColumns
        HAS_GEOMETRY_COLUMNS = True
    except ImportError:
        HAS_GEOMETRY_COLUMNS = False
}}}

But `GeometryColumns` isn't imported in `django.contrib.gis.models` any more since [cebd8753]. This results in tests being silently skipped.

The API to obtain the `SpatialRefSys` and `GeometryColumns` models for a given database connection is:

{{{
connection.ops.spatial_ref_sys()
connection.ops.geometry_columns()
}}}

This bug doesn't affect the 1.7 branch."	Bug	closed	GIS	dev	Normal	fixed			Accepted	0	0	0	0	0	0
