def all():
     return [CustomBadge(badge_type) for badge_type
             in CustomBadgeType.all()]
Beispiel #2
0
 def all():
     custom_badges = []
     custom_badge_types = CustomBadgeType.all().fetch(1000)
     for custom_badge_type in custom_badge_types:
         custom_badges.append(CustomBadge(custom_badge_type))
     return custom_badges
Beispiel #3
0
 def all():
     custom_badges = []
     custom_badge_types = CustomBadgeType.all().fetch(1000)
     for custom_badge_type in custom_badge_types:
         custom_badges.append(CustomBadge(custom_badge_type))
     return custom_badges