Changeset 7397 for django/branches/gis/django/contrib/gis/management
- Timestamp:
- 04/01/08 17:40:32 (9 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/gis/django/contrib/gis/management/commands/inspectdb.py
r7175 r7397 184 184 field_desc += ' # ' + ' '.join(comment_notes) 185 185 yield ' %s' % field_desc 186 if table_name in geo_cols: 187 yield ' objects = models.GeoManager()' 186 188 yield ' class Meta:' 187 189 yield ' db_table = %r' % table_name
