Use == in the template to compare variables. There must be spaces on both sides of ==, otherwise an error will be reported.
Model classes in views.py that you want to import into another application cannot use from ..
from df_f_goods.models import GoodsInfo #Wrong spelling
from ..df_f_goods.models import GoodsInfo #correct writing