24:1: F401 'session' imported but unused
182:36: E128 continuation line under-indented for visual indent
398:5: F841 local variable 'widget_form' is assigned to but never used