1
0
mirror of https://github.com/django/django.git synced 2025-07-04 09:49:12 +00:00

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
This commit is contained in:
Jeremy Dunck 2007-03-07 23:22:37 +00:00
parent 5edcbdc826
commit 68309c8a33

View File

@ -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