Пример #1
0
 def get_all():
     return Attachment.objects()
Пример #2
0
 def get(attach_id):
     return Attachment.objects(id=attach_id).first()