forked from expo/troggle
renamed tunnel to drawing or dwg
This commit is contained in:
@@ -199,13 +199,13 @@ class SingleScan(models.Model):
|
||||
def __str__(self):
|
||||
return "Survey Scan Image: " + str(self.name) + " in " + str(self.scansfolder)
|
||||
|
||||
class TunnelFile(models.Model):
|
||||
class DrawingFile(models.Model):
|
||||
tunnelpath = models.CharField(max_length=200)
|
||||
tunnelname = models.CharField(max_length=200)
|
||||
bfontcolours = models.BooleanField(default=False) # UNUSED now, can be deleted
|
||||
manyscansfolders = models.ManyToManyField("ScansFolder") # implicitly links via folders to scans to SVX files
|
||||
scans = models.ManyToManyField("SingleScan") # implicitly links via scans to SVX files
|
||||
tunnelcontains = models.ManyToManyField("TunnelFile") # case when its a frame type
|
||||
tunnelcontains = 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
|
||||
|
||||
Reference in New Issue
Block a user