我已经开始在我的项目(https://github.com/ypriverol/biocontainers-backend/blob/master/biocontainers/common/models.py)中使用pymodm。所有的积垢处理都很好。你知道吗
但是,当我尝试使用objects调用检索特定MongoModel的对象列表时:
tool_versions_dic = MongoToolVersion.objects.all()
我有个错误:
AttributeError: type object 'MongoToolVersion' has no attribute 'objects'
目前没有回答
相关问题 更多 >
编程相关推荐