Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/g/e/geoq-django-HEAD/geoq/badges/utils.py   geoq-django(Download)
 
from .models import Badge as BadgeModel
from .models import BadgeToUser, LEVEL_CHOICES
 
 
 
 
    return [get_badge_count(level_choice[0]) for level_choice in LEVEL_CHOICES]
 
 

src/g/e/geoq-django-HEAD/geoq/badges/templatetags/badges_tags.py   geoq-django(Download)
from django.template import Library
from .utils import badge_count
from .models import LEVEL_CHOICES, Badge
level_choices = dict(LEVEL_CHOICES)