Ticket #9694: geoadmin_fix_ubuntu8.10.diff
File geoadmin_fix_ubuntu8.10.diff, 619 bytes (added by , 16 years ago) |
---|
-
django/contrib/gis/admin/widgets.py
40 40 srid = self.params['srid'] 41 41 if value.srid != srid: 42 42 try: 43 value.transform(srid) 44 wkt = value.wkt 43 ogr = value.ogr 44 ogr.transform(srid) 45 wkt = ogr.wkt 45 46 except OGRException: 46 47 wkt = '' 47 48 else: