How to Solve NameError: name 'ConditionReport' is not defined -- property_condition

Erorr: name 'ConditionReport' is not defined

NameError: name 'ConditionReport' is not defined

Solution: Import the 'ConditionReport' module

# Add the following line to the top of your code
from property_condition.models import ConditionReport

 

For more information:
property_condition ConditionReport