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

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

src/c/o/commcare-hq-HEAD/corehq/apps/accounting/management/commands/add_operations_user.py   commcare-hq(Download)
from optparse import make_option
from django.contrib.auth.models import User
from django.core.management import BaseCommand
from corehq import privileges
from django_prbac.models import UserRole, Role, Grant

src/c/o/commcare-hq-HEAD/corehq/apps/hqadmin/management/commands/cchq_prbac_bootstrap.py   commcare-hq(Download)
# External imports
from corehq import privileges
from django_prbac.models import Grant, Role
 
logger = logging.getLogger(__name__)

src/c/o/commcare-hq-HEAD/corehq/apps/accounting/forms.py   commcare-hq(Download)
from dimagi.utils.decorators.memoized import memoized
from dimagi.utils.django.email import send_HTML_email
from django_prbac.models import Role, Grant
 
from corehq.apps.accounting.async_handlers import (

src/c/o/commcare-hq-HEAD/corehq/apps/hqadmin/tests.py   commcare-hq(Download)
 
# External imports
from django_prbac.models import Grant, Role
 
# CCHQ imports