Commit 97a7e550 authored by Cédric Bonhomme's avatar Cédric Bonhomme

Updated model of users.

parent ebe1ebf2
......@@ -17,7 +17,7 @@ class User(Document, UserMixin):
lastname = StringField(required = True)
email = EmailField(required=True, unique=True)
pwdhash = StringField(required=True)
feeds = ListField(EmbeddedDocumentField('Feed'))
#epcis_events = ListField(EmbeddedDocumentField('EPCISEvent'))
created_at = DateTimeField(required=True, default=datetime.now)
def get_id(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment