Ejemplo n.º 1
0
 def get_all():
     return Attachment.objects()
Ejemplo n.º 2
0
 def get(attach_id):
     return Attachment.objects(id=attach_id).first()