Django

Code

Changeset 9482

Show
Ignore:
Timestamp:
11/17/08 12:18:54 (2 months ago)
Author:
jbronn
Message:

Fixed #9620 -- spatial database tables now have app_label set correctly.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/contrib/gis/db/backend/oracle/models.py

    r8994 r9482  
    1818    # TODO: Add support for `diminfo` column (type MDSYS.SDO_DIM_ARRAY). 
    1919    class Meta: 
     20        app_label = 'gis' 
    2021        db_table = 'USER_SDO_GEOM_METADATA' 
    2122 
     
    5152        # TODO: Figure out way to have this be MDSYS.CS_SRS without 
    5253        #  having django's quoting mess up the SQL. 
     54        app_label = 'gis' 
    5355        db_table = 'CS_SRS' 
    5456 
  • django/trunk/django/contrib/gis/db/backend/postgis/models.py

    r8994 r9482  
    2424 
    2525    class Meta: 
     26        app_label = 'gis' 
    2627        db_table = 'geometry_columns' 
    2728 
     
    5960 
    6061    class Meta: 
     62        app_label = 'gis' 
    6163        db_table = 'spatial_ref_sys' 
    6264