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

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

src/c/o/commcare-hq-HEAD/corehq/apps/accounting/management/commands/add_operations_user.py   commcare-hq(Download)
    def handle(self, *args, **options):
        ops_role = Role.objects.get_or_create(
            name="Dimagi Operations Team",
            slug='dimagi_ops',
        )[0]
        accounting_admin = Role.objects.get_or_create(
            name="Accounting Admin",