示例#1
0
文件: admin.py 项目: ariel17/fquest
 def parents_admin(self, obj):
     """
     Returns an HTML string with links to the parent Person objects.
     """
     return persons2admin(obj.parents())
示例#2
0
文件: admin.py 项目: ariel17/fquest
 def persons_admin(self, obj):
     """
     Returns an HTML string with links to the Person objects related to the
     current event.
     """
     return persons2admin(obj.persons.all())