forked from expo/troggle
[svn] I initial work at adding caveareas. (Descirprion of parts of caves)
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8226 by julian @ 1/24/2009 6:49 PM
This commit is contained in:
@@ -362,6 +362,14 @@ class Entrance(models.Model):
|
||||
for f in self.FINDABLE_CHOICES:
|
||||
if f[0] == self.findability:
|
||||
return f[1]
|
||||
|
||||
class CaveArea(models.Model):
|
||||
description = models.TextField()
|
||||
name = models.CharField(max_length=200, unique = True)
|
||||
cave = models.ForeignKey('Cave')
|
||||
parentArea = models.ForeignKey('CaveArea')
|
||||
survexFile = models.CharField(max_length=200)
|
||||
|
||||
|
||||
class QM(models.Model):
|
||||
#based on qm.csv in trunk/expoweb/smkridge/204 which has the fields:
|
||||
|
||||
Reference in New Issue
Block a user