Changes between Initial Version and Version 2 of Ticket #16556
- Timestamp:
- Aug 2, 2011, 1:20:02 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #16556
- Property Milestone → 1.4
- Property Owner changed from to
- Property Triage Stage Unreviewed → Accepted
- Property Status new → assigned
-
Ticket #16556 – Description
initial v2 1 django.contrib.gis.utils.srs fails to preserve database when creating SpatialRefSysquerysets1 `django.contrib.gis.utils.srs` fails to preserve database when creating `SpatialRefSys` querysets 2 2 3 3 Currently, the code (line ~70 or so) reads like this: 4 {{{ 5 #!python 4 6 5 7 # Creating the spatial_ref_sys model. … … 10 12 except SpatialRefSys.DoesNotExist: 11 13 sr = SpatialRefSys.objects.create(**kwargs) 14 }}} 12 15 13 16 It should read like this: 14 17 {{{ 18 #!python 15 19 16 20 # Creating the spatial_ref_sys model. … … 21 25 except SpatialRefSys.DoesNotExist: 22 26 sr = SpatialRefSys.objects.using(database).create(**kwargs) 23 27 }}} 24 28 25 29 Otherwise support for multiple backends is sort of broken.