Closed burakkilic closed 11 years ago
try at your document something like
def __str__(self):
return str(self.id)
def __unicode__(self):
return unicode(self.__str__())
and dont use list_display and use mongoengine 0.7- with pymongo 2.0-
Fixed I guess. Otherwise reopen it.
I am getting
int() argument must be a string or a number, not 'ObjectId'
What is wrong?