aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db/mongo/open.py
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2012-01-04 23:48:55 +0100
committerElrond <elrond+mediagoblin.org@samba-tng.org>2012-01-04 23:56:16 +0100
commitf1cdd278e7cf195e485567ed0d0d8a90cad81e48 (patch)
tree4d83367fdc7959e46083018592bceb88e96c35ad /mediagoblin/db/mongo/open.py
parent6a59a8abd49d921c2316fb4bd4cddf55a322b2fb (diff)
downloadmediagoblin-f1cdd278e7cf195e485567ed0d0d8a90cad81e48.tar.lz
mediagoblin-f1cdd278e7cf195e485567ed0d0d8a90cad81e48.tar.xz
mediagoblin-f1cdd278e7cf195e485567ed0d0d8a90cad81e48.zip
f691: Use StrictUndefined for templates and fix some issues
References to undefined variables in templates were silently ignored/converted to None/empty strings. This makes coding lazy stuff easy, but it makes catching typos harder. (It would have catched one of the SQL things earlier!) But on the other hand it might make the current templates error out everywhere. In fact, early testing has shown two instances, that errored out. Those are fixed with this commit too. If this turns out to make things more complex and useless than actually solving any problems, it can easily be dropped again.
Diffstat (limited to 'mediagoblin/db/mongo/open.py')
0 files changed, 0 insertions, 0 deletions