summaryrefslogtreecommitdiff
path: root/postgresqleu/confreg/admin.py
diff options
context:
space:
mode:
authorMagnus Hagander2023-07-24 12:55:14 +0000
committerMagnus Hagander2023-07-24 13:34:50 +0000
commit10d74003ee29a707a977a28f4a41e8a17825ec31 (patch)
treebd9c9b8d9840ac4ce66e2917021705e48c93dbd0 /postgresqleu/confreg/admin.py
parentb5eaf31af3fa82af8b81f3a8b9b73479b4d56c24 (diff)
Add a jinja filter to look up a context variable by name-in-variable
This allows code to store the *name* of a variable in a variable, where the template can then look it up in the gloabal context for the page. This will allow, among other things, a conference template context (a concept that didn't exist back when this was originall created, but does now) to override a text string that cannot be handled as a subtemplate. As with the previous commit, the current code and templates aren't fully prepared for this yet, but they can be adjusted with it as needed. (There are some use cases that already work, but the majority won't)
Diffstat (limited to 'postgresqleu/confreg/admin.py')
0 files changed, 0 insertions, 0 deletions