diff options
| author | Jeremy Dunck <jdunck@gmail.com> | 2007-03-07 23:22:37 +0000 |
|---|---|---|
| committer | Jeremy Dunck <jdunck@gmail.com> | 2007-03-07 23:22:37 +0000 |
| commit | 68309c8a338ea796cd31044c65c3f05c4b2660cd (patch) | |
| tree | 55882451cf5783767ce48a44ba8d88be449d7c42 /django | |
| parent | 5edcbdc826b4d87cdb9ba28b4467b3806bdcdb52 (diff) | |
gis: changed fields.GeometryField to implement get_internal_type.
git-svn-id: http://code.djangoproject.com/svn/django/branches/gis@4675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django')
| -rw-r--r-- | django/contrib/gis/db/models/fields/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/django/contrib/gis/db/models/fields/__init__.py b/django/contrib/gis/db/models/fields/__init__.py index a0d4dad6e8..7b4423bdc1 100644 --- a/django/contrib/gis/db/models/fields/__init__.py +++ b/django/contrib/gis/db/models/fields/__init__.py @@ -25,6 +25,9 @@ class GeometryField(Field): _geom = 'GEOMETRY' _srid = 4326 + + def get_internal_type(self): + return "NoField" def _post_create_sql(self, *args, **kwargs): """Returns SQL that will be executed after the model has been created. Geometry |
