tickets: 16184
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
16184 | 2011-06-09 11:49:33 | 2014-06-28 14:33:13 | 2022-03-06 04:02:30.291821 | Accepted | closed | GIS | Bug | Normal | dev | fixed | GeoDjango inspectdb fails for PostGIS | !GeoDjango inspectdb fails for PostGIS if there are more data types 'geometry' (in more schemas) because PostGISIntrospection.get_postgis_types() is taking simply the first one. Patch is attached. Another problem is that PostGISIntrospection.get_geometry_type() raises exception if a geometry column has no record in geometry_column which is quite usual. In that case I would suggest to return simply {{{ return 'TextField', {} }}} instead of raising exception. | nobody | radim.blazek@gmail.com | inspectdb | 0 | 1 | 0 | 1 | 0 | 0 |