diff options
author | goatchurch <goatchurch@ubuntu.clocksoft.dom> | 2009-09-13 17:27:46 +0100 |
---|---|---|
committer | goatchurch <goatchurch@ubuntu.clocksoft.dom> | 2009-09-13 17:27:46 +0100 |
commit | 7578b65573b3c49bab55deecd0198adce4ca84fa (patch) | |
tree | 7218d2f65c886bef55e3a4c561dd61866491eef2 /core/models_survex.py | |
parent | ced45c92f7db673968069bf3ba506a4f2259d224 (diff) | |
download | troggle-7578b65573b3c49bab55deecd0198adce4ca84fa.tar.gz troggle-7578b65573b3c49bab55deecd0198adce4ca84fa.tar.bz2 troggle-7578b65573b3c49bab55deecd0198adce4ca84fa.zip |
able to save sketches up from tunnel
Diffstat (limited to 'core/models_survex.py')
-rw-r--r-- | core/models_survex.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/models_survex.py b/core/models_survex.py index 9fd23c4..2828389 100644 --- a/core/models_survex.py +++ b/core/models_survex.py @@ -173,5 +173,9 @@ class TunnelFile(models.Model): survexscans = models.ManyToManyField("SurvexScanSingle")
survexblocks = models.ManyToManyField("SurvexBlock")
tunnelcontains = models.ManyToManyField("TunnelFile") # case when its a frame type
+ filesize = models.IntegerField(default=0)
+ npaths = models.IntegerField(default=0)
+ class Meta:
+ ordering = ('tunnelpath',)
\ No newline at end of file |