summaryrefslogtreecommitdiffstats
path: root/core/models/survex.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/models/survex.py')
-rw-r--r--core/models/survex.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/core/models/survex.py b/core/models/survex.py
index a9eee8f..6d662e9 100644
--- a/core/models/survex.py
+++ b/core/models/survex.py
@@ -186,8 +186,8 @@ class Wallet(models.Model):
return str(self.walletname) + " (Survey Scans Folder)"
class SingleScan(models.Model):
- ffile = models.CharField(max_length=200)
- name = models.CharField(max_length=200)
+ ffile = models.CharField(max_length=200)
+ name = models.CharField(max_length=200)
scansfolder = models.ForeignKey("Wallet", null=True,on_delete=models.SET_NULL)
class Meta:
@@ -202,13 +202,13 @@ class SingleScan(models.Model):
class DrawingFile(models.Model):
dwgpath = models.CharField(max_length=200)
dwgname = models.CharField(max_length=200)
- bfontcolours = models.BooleanField(default=False) # UNUSED now, can be deleted
- manyscansfolders = models.ManyToManyField("Wallet") # implicitly links via folders to scans to SVX files
- scans = models.ManyToManyField("SingleScan") # implicitly links via scans to SVX files
+ bfontcolours = models.BooleanField(default=False) # UNUSED now, can be deleted
+ manywallets = models.ManyToManyField("Wallet") # implicitly links via folders to scans to SVX files
+ scans = models.ManyToManyField("SingleScan") # implicitly links via scans to SVX files
dwgcontains = models.ManyToManyField("DrawingFile") # case when its a frame type
- filesize = models.IntegerField(default=0)
- npaths = models.IntegerField(default=0)
- survexfiles = models.ManyToManyField("SurvexFile") # direct link to SVX files - not populated yet
+ filesize = models.IntegerField(default=0)
+ npaths = models.IntegerField(default=0)
+ survexfiles = models.ManyToManyField("SurvexFile") # direct link to SVX files - not populated yet
class Meta:
ordering = ('dwgpath',) \ No newline at end of file