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

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

src/f/l/Flask-SuperAdmin-1.7.1/flask_superadmin/model/backends/django/view.py   Flask-SuperAdmin(Download)
        # Pagination
        if page is not None:
            qs = qs.all()[page * self.list_per_page:]
        qs = qs[:self.list_per_page]
 

src/f/l/Flask-SuperAdmin-HEAD/flask_superadmin/model/backends/django/view.py   Flask-SuperAdmin(Download)
        # Pagination
        if page is not None:
            qs = qs.all()[page * self.list_per_page:]
        qs = qs[:self.list_per_page]
 

src/c/h/chimere-2.0.3/chimere/templatetags/chimere_tags.py   chimere(Download)
    if area:
        news = news.filter(Q(areas__isnull=True)|Q(areas__in=[area.pk]))
    news = list(news.all())
    if settings.CHIMERE_DAYS_BEFORE_EVENT:
        # Retrieve active markers

src/v/a/VAMDC-VALD-HEAD/nodes/IDEADB/node/queryfunc.py   VAMDC-VALD(Download)
 
        electron = models.Species('electron', '', '', '', '')
        energyscan.Reactants = list(energyscan.Reactants.all())
        energyscan.Reactants.append(electron)
 

src/v/a/varnish-bans-manager-0.5.3/varnish_bans_manager/core/forms/users.py   varnish-bans-manager(Download)
                user.set_password(self.cleaned_data.get('password1'))
            # Update permissions.
            permissions = set(user.user_permissions.all())
            for permission in Permission.objects.filter(codename__in=PERMISSIONS.keys()):
                if permission.codename in self.cleaned_data.get('permissions'):

src/r/e/reviewboard-HEAD/reviewboard/reviews/builtin_fields.py   reviewboard(Download)
    def load_value(self, review_request_details):
        value = getattr(review_request_details, self.field_id)
 
        if isinstance(value, models.Manager):
            value = list(value.all())