diff --git a/django/contrib/gis/db/models/proxy.py b/django/contrib/gis/db/models/proxy.py
index 1fdc503..823fbe9 100644
a
|
b
|
class GeometryProxy(object):
|
59 | 59 | # Set with None, WKT, HEX, or WKB |
60 | 60 | pass |
61 | 61 | else: |
62 | | raise TypeError('cannot set %s GeometryProxy with value of type: %s' % (obj.__class__.__name__, type(value))) |
| 62 | raise TypeError('cannot set %s GeometryProxy (%s) with value of type: %s' % (obj.__class__.__name__, gtype, type(value))) |
63 | 63 | |
64 | 64 | # Setting the objects dictionary with the value, and returning. |
65 | 65 | obj.__dict__[self._field.attname] = value |