Getting error while inserting data

MultiValueDictKeyError at /insert/

‘fname’

Request Method: POST
Request URL: http://127.0.0.1:8000/insert/
Django Version: 3.2.8
Exception Type: MultiValueDictKeyError
Exception Value: ‘fname’
Exception Location: C:\Users\Admin\Django code\CRUP Application\myvenv\lib\site-packages\django\utils\datastructures.py, line 78, in getitem
Python Executable: C:\Users\Admin\Django code\CRUP Application\myvenv\Scripts\python.exe
Python Version: 3.9.7
Python Path: [‘C:\Users\Admin\Django code\CRUP Application’, ‘C:\Program Files\Python39\python39.zip’, ‘C:\Program Files\Python39\DLLs’, ‘C:\Program Files\Python39\lib’, ‘C:\Program Files\Python39’, ‘C:\Users\Admin\Django code\CRUP Application\myvenv’, ‘C:\Users\Admin\Django code\CRUP Application\myvenv\lib\site-packages’]
Server time: Wed, 06 Oct 2021 11:40:03 +0000

Please share your code for getitem