Author: jbronn
Date: 2008-11-17 12:47:01 -0600 (Mon, 17 Nov 2008)
New Revision: 9485

Modified:
   django/branches/releases/1.0.X/django/contrib/gis/db/backend/oracle/models.py
   
django/branches/releases/1.0.X/django/contrib/gis/db/backend/postgis/models.py
Log:
[1.0.X] Reverted r9483 -- the patch broke the Oracle spatial backend.

Backport of r9484 from trunk.


Modified: 
django/branches/releases/1.0.X/django/contrib/gis/db/backend/oracle/models.py
===================================================================
--- 
django/branches/releases/1.0.X/django/contrib/gis/db/backend/oracle/models.py   
    2008-11-17 18:42:48 UTC (rev 9484)
+++ 
django/branches/releases/1.0.X/django/contrib/gis/db/backend/oracle/models.py   
    2008-11-17 18:47:01 UTC (rev 9485)
@@ -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/branches/releases/1.0.X/django/contrib/gis/db/backend/postgis/models.py
===================================================================
--- 
django/branches/releases/1.0.X/django/contrib/gis/db/backend/postgis/models.py  
    2008-11-17 18:42:48 UTC (rev 9484)
+++ 
django/branches/releases/1.0.X/django/contrib/gis/db/backend/postgis/models.py  
    2008-11-17 18:47:01 UTC (rev 9485)
@@ -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