django 中model踩的坑之AttributeError: type object ** has no attribute 'objects'

django 中model踩的坑之AttributeError: type object ** has no attribute 'objects'及Field defines a relation

你可能感兴趣的:(django 中model踩的坑之AttributeError: type object ** has no attribute 'objects')