Some spaces in my post were killed. The funeral for the dead spaces is at 9. Meanwhile, the indentation should be, taking 'def post...' as line 1:
lines 2-12: indent one level
lines 5-11: indent one additional level
lines 8-10: indent one additional level
line 10: indent one additional level