~ubuntu-branches/ubuntu/quantal/python-django/quantal

« back to all changes in this revision

Viewing changes to django/contrib/gis/tests/distapp/models.py

  • Committer: Bazaar Package Importer
  • Author(s): Chris Lamb
  • Date: 2009-07-29 11:26:28 UTC
  • mfrom: (1.1.8 upstream) (4.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20090729112628-pg09ino8sz0sj21t
Tags: 1.1-1
* New upstream release.
* Merge from experimental:
  - Ship FastCGI initscript and /etc/default file in python-django's examples
    directory (Closes: #538863)
  - Drop "05_10539-sphinx06-compatibility.diff"; it has been applied
    upstream.
  - Bump Standards-Version to 3.8.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
class Interstate(models.Model):
38
38
    "Geodetic model for U.S. Interstates."
39
39
    name = models.CharField(max_length=10)
40
 
    line = models.LineStringField()
 
40
    path = models.LineStringField()
 
41
    objects = models.GeoManager()
 
42
    def __unicode__(self): return self.name
 
43
 
 
44
class SouthTexasInterstate(models.Model):
 
45
    "Projected model for South Texas Interstates."
 
46
    name = models.CharField(max_length=10)
 
47
    path = models.LineStringField(srid=32140)
41
48
    objects = models.GeoManager()
42
49
    def __unicode__(self): return self.name