How to Solve NameError: name 'CreateArticleForm' is not defined -- .forms

Solution: Import the 'CreateArticleForm' module

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

from .forms import  CreateArticleForm

 

For more information:
Python .forms CreateArticleForm