add django syntax 1.08 and snippet for elif