Author: jbronn
Date: 2008-11-17 12:42:48 -0600 (Mon, 17 Nov 2008)
New Revision: 9484

Modified:
   django/trunk/django/contrib/gis/db/backend/oracle/models.py
   django/trunk/django/contrib/gis/db/backend/postgis/models.py
Log:
Reverted r9480 -- the patch broke the Oracle spatial backend.


Modified: django/trunk/django/contrib/gis/db/backend/oracle/models.py
===================================================================
--- django/trunk/django/contrib/gis/db/backend/oracle/models.py 2008-11-17 
18:22:39 UTC (rev 9483)
+++ django/trunk/django/contrib/gis/db/backend/oracle/models.py 2008-11-17 
18:42:48 UTC (rev 9484)
@@ -17,7 +17,6 @@
     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 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

Modified: django/trunk/django/contrib/gis/db/backend/postgis/models.py
===================================================================
--- django/trunk/django/contrib/gis/db/backend/postgis/models.py        
2008-11-17 18:22:39 UTC (rev 9483)
+++ django/trunk/django/contrib/gis/db/backend/postgis/models.py        
2008-11-17 18:42:48 UTC (rev 9484)
@@ -23,7 +23,6 @@
     type = models.CharField(max_length=30)
 
     class Meta:
-        app_label = 'gis'
         db_table = 'geometry_columns'
 
     @classmethod
@@ -59,7 +58,6 @@
     proj4text = models.CharField(max_length=2048)
 
     class Meta:
-        app_label = 'gis'
         db_table = 'spatial_ref_sys'
 
     @property


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to