mirror of
https://github.com/django/django.git
synced 2025-07-04 01:39:20 +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:
parent
5edcbdc826
commit
68309c8a33
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user