Did I find the right examples for you? yes no

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

src/r/o/rooibos-HEAD/rooibos/contrib/impersonate/functions.py   rooibos(Download)
from django.contrib.auth import login
from django.contrib.auth.models import User
from models import Impersonation
from django.db.models import Q
from django.core.exceptions import PermissionDenied

src/r/o/rooibos-HEAD/rooibos/contrib/impersonate/admin.py   rooibos(Download)
from django.contrib import admin
from models import Impersonation
 
class ImpersonationAdmin(admin.ModelAdmin):
    filter_horizontal = ('users', 'groups')