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

Erorr: name 'Textarea' is not defined

NameError: name 'Textarea' is not defined

Solution: Import the 'Textarea' module

# Add the following line to the top of your code
from django.forms import Textarea

 

For more information:
django Textarea