mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-08 16:28:06 +00:00
tidying unused fileds on classes
This commit is contained in:
@@ -239,7 +239,7 @@ class QM(TroggleModel):
|
||||
ticked = models.BooleanField(default=False)
|
||||
location_description = models.TextField(blank=True, null=True)
|
||||
completion_description = models.TextField(blank=True, null=True)
|
||||
completion_date = models.DateField(blank=True, null=True)
|
||||
# completion_date = models.DateField(blank=True, null=True) #never used in fact
|
||||
nearest_station_name = models.CharField(max_length=200, blank=True, null=True)
|
||||
resolution_station_name = models.CharField(max_length=200, blank=True, null=True)
|
||||
area = models.CharField(max_length=100, blank=True, null=True)
|
||||
|
||||
@@ -310,10 +310,10 @@ class DrawingFile(models.Model):
|
||||
dwgname = models.CharField(max_length=200)
|
||||
dwgwallets = 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
|
||||
# dwgcontains = models.ManyToManyField("DrawingFile") # case when its a frame type - 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
|
||||
# survexfiles = models.ManyToManyField("SurvexFile") # direct link to SVX files - not populated yet
|
||||
|
||||
class Meta:
|
||||
ordering = ("dwgpath",)
|
||||
|
||||
@@ -174,7 +174,7 @@ class PersonExpedition(TroggleModel):
|
||||
|
||||
expedition = models.ForeignKey(Expedition, on_delete=models.CASCADE, db_index=True)
|
||||
person = models.ForeignKey(Person, on_delete=models.CASCADE, db_index=True)
|
||||
slugfield = models.SlugField(max_length=50, blank=True, null=True) # 2022 to be used in future
|
||||
# slugfield = models.SlugField(max_length=50, blank=True, null=True) # 2022 to be used in future
|
||||
noncaver = models.BooleanField(
|
||||
help_text="if flagged as -1 in the folk.csv input file",
|
||||
default=True,
|
||||
|
||||
Reference in New Issue
Block a user