How to Solve NameError: name 'Form' is not defined -- django

Solution: Import the 'Form' module

To Solve the error, add the following line to the top of your code.

from django import Form

 

For more information:
Python django Form