updates to settings.py to fix not executing code
removed submit button and hooked it up to enter key instead