Python Django Local Variable Form Referenced Before Assignment

Python Django Local Variable Form Referenced Before Assignment