Skip to content

Commit

Permalink
update comment, trigger sql moved
Browse files Browse the repository at this point in the history
  • Loading branch information
slinkp committed Aug 2, 2011
1 parent 1334338 commit 09d1204
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ebpub/ebpub/db/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,8 @@ class Location(models.Model):
display_order = models.SmallIntegerField()
city = models.CharField(max_length=255)
source = models.CharField(max_length=64)
area = models.FloatField(blank=True, null=True) # in square meters
# In square meters. This is populated by a trigger in ebpub/db/migrations/0004_st_intersects_patch.py
area = models.FloatField(blank=True, null=True)
population = models.IntegerField(blank=True, null=True) # from the 2000 Census
user_id = models.IntegerField(blank=True, null=True)
is_public = models.BooleanField()
Expand Down

0 comments on commit 09d1204

Please sign in to comment.