Django

Code

Show
Ignore:
Timestamp:
12/04/07 11:44:37 (1 year ago)
Author:
jbronn
Message:

gis: Added distance querying capabilites via the distance manager method and the distance_[gt|gte|lt|lte] lookup types (works for both PostGIS and Oracle); improved Oracle query construction and fixed transform issues.

Files:

Legend:

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

    r6524 r6886  
    2121 
    2222    @classmethod 
    23     def table_name_col(self): 
     23    def table_name_col(cls): 
    2424        return 'table_name' 
    2525 
     
    4444    def wkt(self): 
    4545        return self.wktext 
     46 
     47    @classmethod 
     48    def wkt_col(cls): 
     49        return 'wktext'