You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Adunatio/models/EmbededDocuments.py

8 lines
183 B

from mongoengine import *
class Descriptions(EmbeddedDocument):
from models.User import User
text = StringField()
user = ReferenceField(User)
date = DateTimeField()