How to Solve NameError: name 'Article' is not defined -- myapp
Solution: Import the 'Article' module
To Solve the error, add the following line to the top of your code.
from myapp.models import Article
For more information:
Python myapp Article