示例#1
0
 def get_existing(self, obj):
     return Product.objects(product_id=obj.product_id).first()
示例#2
0
 def drop_collections(self):
     Product.drop_collection()