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

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

src/a/r/archfinch-HEAD/users/views.py   archfinch(Download)
from lazysignup.decorators import allow_lazy_user
from django.core.cache import cache
from archfinch.utils import paginate
 
def get_max_similarity(user):
 
    # pagination
    reviews, paginator, current_page, page_range = paginate(reviews, page, n)
 
    for review in reviews:
 
    # pagination
    opinions, paginator, current_page, page_range = paginate(opinions, page, n)
 
    if json:
 
        # pagination
        similar_users, paginator, current_page, page_range = paginate(similar_users, page, n)
 
        likes = likes_gen(similar_users, request.user)

src/a/r/archfinch-HEAD/search/views.py   archfinch(Download)
from archfinch.users.models import User
from lazysignup.decorators import allow_lazy_user
from archfinch.utils import paginate
import re
 
        return invalid_search()
 
    results, paginator, current_page, page_range = paginate(results, page, n)
 
    if json:

src/a/r/archfinch-HEAD/main/views.py   archfinch(Download)
from lazysignup.decorators import allow_lazy_user
from django.conf import settings
from archfinch.utils import paginate
import time
from datetime import datetime