Woo-hoo! I got my mesostic generator up & running on Django at PythonAnywhere, and it does its thing. Rock that mesostic!
Here’s a sample, read through Django’s template language introduction with “Django” as the spine:
Document this
explains the language Just
xml/html templAtes.
oNe more
althouGh that has a
special belOw.
Dot (.)
obJects
thAt
dictioNary
throuGh
lOwer filter, which text
“chaineD.” the output
Join
A list with
list|joiN:", " }}. provides about thirty
Give
yOu
…hee, I like how it threw “chained” in there. Get it?
Go on now, pull the other one–it has got bells on. Make your own mesostic here: P.S.: Meso.
Side-note: I am posting this in the middle of the night because I thought it was working four hours ago (and wrote the post up to this paragraph then), but apparently when you import a module, its global variables aren’t global for its functions anymore–if program X imports program Y, program X’s global variables are the only global variables, looks like. So I had to figure that out, which took a long time because I thought it was a problem with the textarea widget or Django forms in general, rather than a plain ‘ole Python noob error. Once I found the problem, two lines fixed it up. Shiny. Don’t worry if you didn’t follow that; I had to write it out for me.
Point being, it works! Go! Allez! Make poetic nonsense!
