﻿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
12591	django.contrib.gis.utils.srs is out of date	Charlie DeTar	nobody	"`django.contrib.gis.utils.srs.add_postgis_srs` fails with the following error:

{{{
ImportError                               Traceback (most recent call last)
/usr/local/lib/python2.6/dist-packages/django/contrib/gis/utils/srs.pyc in add_postgis_srs(srs, auth_name, auth_srid, ref_sys_name)
     22                    determined by GDAL.
     23     """"""
---> 24     from django.contrib.gis.db.backend import SpatialBackend
     25     from django.contrib.gis.models import SpatialRefSys
     26     from django.contrib.gis.gdal import SpatialReference

ImportError: No module named backend
}}}

This is because the `django.contrib.gis.db.backend` module no longer exists (it has been renamed ""`backends`""), and the `SpatialBackend` class is no longer defined.

Thus the following instructions in geodjango documentation fail:
http://geodjango.org/docs/install.html#add-google-projection-to-spatial-ref-sys-table"		closed	GIS	dev		fixed	srs add_postgis_srs		Unreviewed	0	0	0	0	0	0
