summaryrefslogtreecommitdiffstats
path: root/parsers
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-02-10 00:05:04 +0000
committerPhilip Sargent <philip.sargent@gmail.com>2023-02-10 00:05:04 +0000
commit709b720be9ee0abca7c4dbccb91dadb50da5725b (patch)
treed14b861940f40f2819b5aaf37e2e6c339287ffe2 /parsers
parent19d9942676d56fa9289d0a24ec2c52c23437cf07 (diff)
downloadtroggle-709b720be9ee0abca7c4dbccb91dadb50da5725b.tar.gz
troggle-709b720be9ee0abca7c4dbccb91dadb50da5725b.tar.bz2
troggle-709b720be9ee0abca7c4dbccb91dadb50da5725b.zip
Update URLs to django documn version
Diffstat (limited to 'parsers')
-rw-r--r--parsers/logbooks.py2
-rw-r--r--parsers/survex.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/parsers/logbooks.py b/parsers/logbooks.py
index 6afd620..47dd9ba 100644
--- a/parsers/logbooks.py
+++ b/parsers/logbooks.py
@@ -39,7 +39,7 @@ todo = """
file_in = open(logbookfile,'rb')
txt = file_in.read().decode("latin1")
-- use Fixtures https://docs.djangoproject.com/en/4.1/ref/django-admin/#django-admin-loaddata to cache
+- use Fixtures https://docs.djangoproject.com/en/dev/ref/django-admin/#django-admin-loaddata to cache
data for old logbooks? Not worth it..
"""
MAX_LOGBOOK_ENTRY_TITLE_LENGTH = 200
diff --git a/parsers/survex.py b/parsers/survex.py
index 91ce00a..8f75d65 100644
--- a/parsers/survex.py
+++ b/parsers/survex.py
@@ -2091,7 +2091,7 @@ def LoadSurvexBlocks():
# why does this increase memory use by 20 MB ?!
# We have foreign keys, Django needs to load the related objects
# in order to resolve how the relation should handle the deletion:
- # https://docs.djangoproject.com/en/3.2/ref/models/fields/#django.db.models.ForeignKey.on_delete
+ # https://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.ForeignKey.on_delete
SurvexBlock.objects.all().delete()
SurvexFile.objects.all().delete()
SurvexDirectory.objects.all().delete()