I am getting a 502 bad gateway error as soon as i am passing a form object in my django view. If i don\'t pass the form it doesn\'t give any errors on the server.
This is