2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-18 12:37:10 +00:00

Nicknames preserved, date checked

This commit is contained in:
2023-08-26 18:39:29 +03:00
parent 93397a774f
commit d08a6aa204
6 changed files with 77 additions and 32 deletions

View File

@@ -17,7 +17,9 @@ and for persons: their individual pages and their perseonexpedition pages.
It uses the global object TROG to hold some cached pages.
"""
todo = """Fix the get_person_chronology() display bug.
todo = """- Fix the get_person_chronology() display bug.
- Fix id= value preservation on editing
"""
@@ -49,8 +51,9 @@ def expedition(request, expeditionname):
"""Returns a rendered page for one expedition, specified by the year e.g. '2019'.
If page caching is enabled, it caches the dictionaries used to render the template page.
This is not as difficult to understand as it looks. Yes there are many levels of indirection, with multiple trees being traversed at the same time. And the Django special syntax
makes this hard for normal Python programmers.
This is not as difficult to understand as it looks.
Yes there are many levels of indirection, with multiple trees being traversed at the same time.
And the Django special syntax makes this hard for normal Python programmers.
Remember that 'personexpedition__expedition' is interpreted by Django to mean the
'expedition' object which is connected by a foreign key to the 'personexpedition'