summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@gmail.com>2023-09-14 13:40:33 +0300
committerPhilip Sargent <philip.sargent@gmail.com>2023-09-14 13:40:33 +0300
commit1085a14b92c395cd87e8c5fc3fa420b302f3ab73 (patch)
tree7b86fc8b63261f24f5312636b4b7380d2679094f
parent0295fce110ea6b10845bbfb99f761cfae271343b (diff)
downloadtroggle-1085a14b92c395cd87e8c5fc3fa420b302f3ab73.tar.gz
troggle-1085a14b92c395cd87e8c5fc3fa420b302f3ab73.tar.bz2
troggle-1085a14b92c395cd87e8c5fc3fa420b302f3ab73.zip
comments
-rw-r--r--core/views/wallets_edit.py4
-rw-r--r--parsers/caves.py2
2 files changed, 4 insertions, 2 deletions
diff --git a/core/views/wallets_edit.py b/core/views/wallets_edit.py
index 19b80f7..af82acb 100644
--- a/core/views/wallets_edit.py
+++ b/core/views/wallets_edit.py
@@ -274,7 +274,9 @@ def walletedit(request, path=None):
This does NOT use a Django model linked to a Django form. Just a simple Django form.
You will find the Django documentation on forms very confusing,
- as it covers many very different things we do not need. This is simpler.
+ as it covers many very different things we do not need. This is simpler,
+ or at least, it is all in one place and you can see what it does, inctead of using invisible
+ Django defaults that a newcomer can't find.
(See also view/uploads.py for other simpler forms, as opposed to core/forms.py
which contains a couple of Django class-based forms.)
diff --git a/parsers/caves.py b/parsers/caves.py
index d89aae0..272deaf 100644
--- a/parsers/caves.py
+++ b/parsers/caves.py
@@ -143,7 +143,7 @@ def create_new_cave(svxpath, msg=None):
raise
# we know what the survex file is, we don't need to use the guess.
- # But this sets the survex file on he cave from the first one we find, not necessarily the best survex file for this cave
+ # But this sets the survex file on the cave from the first one we find, not necessarily the best survex file for this cave
cave.survex_file=survex_file
cave.areacode=areacode
cave.save()