~ubuntu-branches/ubuntu/jaunty/python-django/jaunty-backports

« back to all changes in this revision

Viewing changes to django/contrib/gis/db/backend/oracle/models.py

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2008-11-15 19:15:33 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20081115191533-xbt1ut2xf4fvwtvc
Tags: 1.0.1-0ubuntu1
* New upstream release:
  - Bug fixes.

* The tests/ sub-directory appaers to have been dropped upstream, so pull
  our patch to workaround the tests and modify the rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
    @classmethod
23
23
    def table_name_col(cls):
 
24
        """
 
25
        Returns the name of the metadata column used to store the 
 
26
        the feature table name.
 
27
        """
24
28
        return 'table_name'
25
29
 
 
30
    @classmethod
 
31
    def geom_col_name(cls):
 
32
        """
 
33
        Returns the name of the metadata column used to store the 
 
34
        the feature geometry column.
 
35
        """
 
36
        return 'column_name'
 
37
 
26
38
    def __unicode__(self):
27
39
        return '%s - %s (SRID: %s)' % (self.table_name, self.column_name, self.srid)
28
40