Open ghost opened 8 years ago
class ProductImage(Document): # ... class Product(Document): # ... images = fields.ListField(fields.EmbeddedDocumentField(ProductImage)) # ... class ModelImage(ProductImage): # ... class Model(Product): # ... images = fields.ListField(fields.EmbeddedDocumentField(ModelImage))
Why not make a redefinition of fields, instead of checking the uniqueness?
Why not make a redefinition of fields, instead of checking the uniqueness?