summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/admin.py2
-rw-r--r--core/models/survex.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/core/admin.py b/core/admin.py
index c266a97..cfdeb22 100644
--- a/core/admin.py
+++ b/core/admin.py
@@ -19,6 +19,8 @@ In particular, it enables JSON export of any data with 'export_as_json'
and configures the search fields to be used within the control panel.
What is the search path for the css and js inclusions in the Media subclasses though ?!
+
+The page looks for /static/jquery/jquery.min.js
'''
class TroggleModelAdmin(admin.ModelAdmin):
diff --git a/core/models/survex.py b/core/models/survex.py
index 5ee3f17..97c6a3d 100644
--- a/core/models/survex.py
+++ b/core/models/survex.py
@@ -152,7 +152,7 @@ class SurvexPersonRole(models.Model):
personname = models.CharField(max_length=100)
person = models.ForeignKey('Person', blank=True, null=True,on_delete=models.SET_NULL)
personexpedition = models.ForeignKey('PersonExpedition', blank=True, null=True,on_delete=models.SET_NULL)
- persontrip = models.ForeignKey('PersonTrip', blank=True, null=True,on_delete=models.SET_NULL) # logbook
+ # persontrip = models.ForeignKey('PersonTrip', blank=True, null=True,on_delete=models.SET_NULL) # logbook thing not a survex thing
expeditionday = models.ForeignKey("ExpeditionDay", null=True,on_delete=models.SET_NULL)
def __str__(self):