[Fixed]-Django form This field is required error after request.POST


so I realized that my name and id‘s in my html had a wrong format. django would generate an id like id_modbus-id_2-iPort, but my problem was that my id had an underscore instead of a hyphen. so my id’s were id_modbus-id_2_iPort and django didn’t recognize it


Leave a comment