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