Getting this error with views.py in my Django app - UnboundLocalError at / local variable \'context\' referenced before assignment.
Here is a snippet of the code that