diff options
Diffstat (limited to 'app/locations/models.py')
-rwxr-xr-x | app/locations/models.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/app/locations/models.py b/app/locations/models.py index bbeb2e0..e088697 100755 --- a/app/locations/models.py +++ b/app/locations/models.py @@ -159,21 +159,6 @@ class Location(models.Model): def __unicode__(self): return self.name -class BirdingLocation(models.Model): - location = models.ForeignKey(Location) - name = models.CharField(max_length=50) - slug = models.SlugField() - date_visited = models.DateTimeField('Date visited',null=True) - point = models.PointField() - # GeoManager, a subclass that adds a rich set of geospatial queryset methods - objects = models.GeoManager() - - def get_absolute_url(self): - return "/birdinglocations/%s/%s/%s/" % (self.state.country.slug, self.state.slug, self.slug) - - - def __unicode__(self): return self.name - class Route(models.Model): name = models.CharField(max_length=200) slug = models.SlugField() |