From d25a2154aff2a3fee1c0c389c9544be1e0acc5f9 Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Sat, 11 Oct 2025 23:59:11 +0300 Subject: [PATCH] tidying unused fileds on classes --- _cave_caves284.html | 344 ++++++++++++++++++++++++++++++++++++++++ core/models/logbooks.py | 2 +- core/models/survex.py | 4 +- core/models/troggle.py | 2 +- 4 files changed, 348 insertions(+), 4 deletions(-) create mode 100644 _cave_caves284.html diff --git a/_cave_caves284.html b/_cave_caves284.html new file mode 100644 index 000000000..4ddd427af --- /dev/null +++ b/_cave_caves284.html @@ -0,0 +1,344 @@ + + + + + + + + + + + + + + + + + +
+ + +
+ + Logbook Entry | + Caves | + QMs | + Survex | + All Survex | + Scans | + Upload Scans | + Drawings | + Upload Drawings | + Upload Photos | + Upload GPX | + +
+ + Data Issues | + + Entrances | + Stations | + expoers | + survey lengths | + statistics | + + Wallets(2025) | + Logbook(2025) | + Expo(2025) | + Control panel + +
+

+ + +

Cave Index

+

Notable caves

+ + +Red star against a name indicates that no survex file is explicitly associated with the cave
+Blue star against a name indicates that no survex file is explicitly associated with the cave but it is marked as 'fully explored'
+Blue triangle against a name indicates that the cave is 'pending' creation properly.
+Orange triangle against a name indicates that the cave has no Entrance (and is not 'pending').
+Black triangle against a name indicates that the cave has an Entrance, but no entrances have valid located survey stations.
+Red triangle against a name indicates that the cave has unticked QMs
+Cavename in this colour means that the cave is undescended/unexplored. + +

See Undropped Caves for all unexplored caves
+See Lost Caves for caves we have mislaid.
+See Recent Caves for a shorter list of recent caves. + +

+ New Cave
+ Cave Number Index - kept updated +

+ + + +

This year's caves

+
+ + +
+
+ +

1623

+
+ + + + + + + + 115 Schnellzughöhle + + (40m) + + + + + + + + + +
+ + + + + + + + 161 + + + + + + + + + + + +
+ + + + + + + + 204 + + + + + + + + + + + +
+ + + + + + + + 264 + + + + + + + + + + + +
+ + + + + + + + 284 Seetrichter (Lake bottom) + + + + + + + + + + + + + +
+ + + + + + + + 290 + + + + + + + + + + + +
+ + +
+
+ +

+ New Cave
+ Cave Number Index - kept updated +

+ +

1626

+
+ + +
+
+ +

+ New Cave
+ Cave Number Index - kept updated +

+ + +

1627

+
+ + +
+
+ +

+ New Cave
+ Cave Number Index - kept updated +

+ +

1624

+
+ + +
+ +
+ +

+ New Cave
+ Cave Number Index - kept updated +

+ + + + + + + + + + + + diff --git a/core/models/logbooks.py b/core/models/logbooks.py index 4ea740d5f..77194b847 100644 --- a/core/models/logbooks.py +++ b/core/models/logbooks.py @@ -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) diff --git a/core/models/survex.py b/core/models/survex.py index acf29f06e..de7af546f 100644 --- a/core/models/survex.py +++ b/core/models/survex.py @@ -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",) diff --git a/core/models/troggle.py b/core/models/troggle.py index ba2d0e866..1aaa7533f 100644 --- a/core/models/troggle.py +++ b/core/models/troggle.py @@ -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,