Python How Django Render Function Handles For Loop ,how Parse A If

Python How Django Render Function Handles For Loop ,how Parse A If