Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/k/a/kamu-HEAD/parliament/member_views.py   kamu(Download)
def show_member_opinions(request, member):
    answers = Answer.objects.filter(member=member)
    answers = answers.select_related('option', 'option__question',
                            'option__question__source')
 

src/e/s/ESP-Website-HEAD/esp/esp/program/models/class_.py   ESP-Website(Download)
            classes = classes.filter(self.approved(return_q_obj=True))
 
        classes = classes.select_related('category')
 
        if program != None:

src/s/y/synnefo-HEAD/snf-django-lib/snf_django/management/commands/__init__.py   synnefo(Download)
        try:
            if select_related:
                objects = objects.select_related(*select_related)
            if prefetch_related:
                objects = objects.prefetch_related(*prefetch_related)