From 708df97f204961663277cfca8df476ec8972f68f Mon Sep 17 00:00:00 2001 From: Justin Bronn Date: Mon, 17 Nov 2008 18:42:48 +0000 Subject: [PATCH] Reverted r9480 -- the patch broke the Oracle spatial backend. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9484 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/gis/db/backend/oracle/models.py | 2 -- django/contrib/gis/db/backend/postgis/models.py | 2 -- 2 files changed, 4 deletions(-) diff --git a/django/contrib/gis/db/backend/oracle/models.py b/django/contrib/gis/db/backend/oracle/models.py index 6f1149bedaa..d8d00d402d4 100644 --- a/django/contrib/gis/db/backend/oracle/models.py +++ b/django/contrib/gis/db/backend/oracle/models.py @@ -17,7 +17,6 @@ class GeometryColumns(models.Model): srid = models.IntegerField(primary_key=True) # TODO: Add support for `diminfo` column (type MDSYS.SDO_DIM_ARRAY). class Meta: - app_label = 'gis' db_table = 'USER_SDO_GEOM_METADATA' @classmethod @@ -51,7 +50,6 @@ class SpatialRefSys(models.Model, SpatialRefSysMixin): class Meta: # TODO: Figure out way to have this be MDSYS.CS_SRS without # having django's quoting mess up the SQL. - app_label = 'gis' db_table = 'CS_SRS' @property diff --git a/django/contrib/gis/db/backend/postgis/models.py b/django/contrib/gis/db/backend/postgis/models.py index 5859646c679..4a814dc1fe2 100644 --- a/django/contrib/gis/db/backend/postgis/models.py +++ b/django/contrib/gis/db/backend/postgis/models.py @@ -23,7 +23,6 @@ class GeometryColumns(models.Model): type = models.CharField(max_length=30) class Meta: - app_label = 'gis' db_table = 'geometry_columns' @classmethod @@ -59,7 +58,6 @@ class SpatialRefSys(models.Model, SpatialRefSysMixin): proj4text = models.CharField(max_length=2048) class Meta: - app_label = 'gis' db_table = 'spatial_ref_sys' @property