diff --git a/django/contrib/gis/admin/widgets.py b/django/contrib/gis/admin/widgets.py
index 27abc8f..fa1c468 100644
a
|
b
|
class OpenLayersWidget(Textarea):
|
23 | 23 | value = GEOSGeometry(value) |
24 | 24 | except (GEOSException, ValueError): |
25 | 25 | value = None |
26 | | |
27 | | if value and value.geom_type.upper() != self.geom_type: |
| 26 | if value and value.geom_type.upper() != self.geom_type and self.geom_type != 'GEOMETRY': |
28 | 27 | value = None |
29 | 28 | |
30 | 29 | # Constructing the dictionary of the map options. |
diff --git a/django/contrib/gis/gdal/geomtype.py b/django/contrib/gis/gdal/geomtype.py
index 565326f..8fedd49 100644
a
|
b
|
class OGRGeomType(object):
|
24 | 24 | if isinstance(type_input, OGRGeomType): |
25 | 25 | num = type_input.num |
26 | 26 | elif isinstance(type_input, basestring): |
| 27 | if type_input.lower() == 'geometry': type_input='unknown' |
27 | 28 | num = self._str_types.get(type_input.lower(), None) |
28 | 29 | if num is None: |
29 | 30 | raise OGRException('Invalid OGR String Type "%s"' % type_input) |