Issue in using Document object in the notebook-examples
rishabhbatra10 opened this issue · 0 comments
rishabhbatra10 commented
While trying to run the notebook notebook-examples/document_model_tutorial.ipynb I am geting this error in the 5th cell
NameError Traceback (most recent call last)
in ()
1 # Iterate and print
----> 2 for d in Document.objects.all()[0:10]:
3 print(d)
NameError: name 'Document' is not defined
Also the Document name is not resolved in the main code.