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

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

src/t/e/tendenci-5.1.333/tendenci/addons/corporate_memberships/views.py   tendenci(Download)
        app_fields = app_fields.filter(admin_only=False)
    if not can_edit:
        app_fields = app_fields.exclude(field_name__in=[
                                'corporate_membership_type',
                                'payment_method',
        else:
            fields_to_exclude = ['authorized_domain']
        app_fields = app_fields.exclude(field_name__in=fields_to_exclude)
 
    app_fields = list(app_fields.order_by('position'))
        field_objs = field_objs.filter(admin_only=0)
    if not can_edit:
        field_objs = field_objs.exclude(field_name='corporate_membership_type')
 
    field_objs = list(field_objs.order_by('position'))

src/n/n/nnmware-HEAD/core/templatetags/core.py   nnmware(Download)
    result = videos
    if user.is_authenticated():
        result = result.exclude(users_viewed=user)
    if category is not None:
        result = result.filter(tags=category)

src/g/c/gcd-django-HEAD/apps/oi/models.py   gcd-django(Download)
    def other_variants(self):
        if self.variant_of:
            variants = self.variant_of.variant_set.all()
            if self.issue:
                variants = variants.exclude(id=self.issue.id)
        else:
            variants = self.variant_set.all()
        variants = list(variants.exclude(deleted=True))

src/s/y/synnefo-HEAD/snf-django-lib/snf_django/management/commands/__init__.py   synnefo(Download)
            objects = objects.filter(**self.filters)
            for key, value in self.excludes.iteritems():
                objects = objects.exclude(**{key: value})
        except FieldError as e:
            raise CommandError(e)