miniblog.
← Back to all posts
Jul 8, 2013 at 14:57
Ouch. Django (prior to 1.5) treated {% if True %} as looking up a variable called `True`, which is falsey because it's not present.
Wilfred Hughes
Related Posts
Nov 28, 2013 at 11:26
Django's loaddata command does not give you full tracebacks by default. Argh. Turns out there's a --traceback command line argument though.
Wilfred Hughes
Shared words: Django, not Score: 56.7
Mar 31, 2018 at 19:28
@DPD_UK
I have a parcel that was supposed to be signed for. I wasn't in, and I don't know anyone called Garden. The parcel is not present. Can you advise?
Wilfred Hughes
Shared words: called, not, present Score: 45.1
Jun 11, 2012 at 18:38
I have yet to see a variable that could not be called 'data'. Thus it seems like a lousy variable name.
Wilfred Hughes
Shared words: variable, called, not Score: 38.4