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