Did I find the right examples for you? yes no

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

src/k/a/Kawaz-HEAD/src/Kawaz/profiles/views.py   Kawaz(Download)
def profile_filter(request):
    kwargs = {
        'queryset': Profile.objects.published(request),
        'filter_class': ProfileFilterSet,
    }
    return list_detail.object_filter(request, **kwargs)
@permission_required('profiles.view_profile', Profile)
def profile_detail(request, slug, slug_field):
    kwargs = {
        'queryset': Profile.objects.published(request),