﻿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
16620	django.contrib.gis.utils.srs.add_srs_entry doesn't use the database parameter	nikolai@…	nobody	"When using `add_srs_entry` like `add_srs_entry(900913, database=""gis"")`, it still goes to default database. Correct should be 

{{{
    # Creating the spatial_ref_sys model.
    try:
        # Try getting via SRID only, because using all kwargs may
        # differ from exact wkt/proj in database.
        sr = SpatialRefSys.objects.using(database).get(srid=srs.srid)
    except SpatialRefSys.DoesNotExist:
        sr = SpatialRefSys.objects.using(database).create(**kwargs)
}}}"	Bug	closed	GIS	1.3	Normal	duplicate		adamfast	Accepted	0	0	1	0	1	0
