Mandeep Singh

Results comments of Mandeep Singh

@ronhanson I am using ```py from datetime import datetime class User(Document): created_at = DateTimeField(default=datetime.utcnow)

This is in the nature of validator https://github.com/MongoEngine/mongoengine/blob/5bdd35464b89dd2def1dcb0464e244322f1bc757/mongoengine/fields.py#L1088-L1091

@vedavidhbudimuri can elaborate a little on your motive ?

@vedavidhbudimuri you have to pass objects only instead of id.