(show_deleted=False, all_tenants=False)
return context
Create an administrator context.

    :param show_deleted: if True, will show deleted items when query db
Create an administrator context.
Create an administrator context .
def make_admin_context(show_deleted=False, all_tenants=False):
    """Create an administrator context.

    :param show_deleted: if True, will show deleted items when query db
    """
    context = RequestContext(user_id=None,
                             project=None,
                             is_admin=True,
                             show_deleted=show_deleted,
                             all_tenants=all_tenants)
    return context
def make_admin_context ( show_deleted = False , all_tenants = False ) : context = RequestContext ( user_id = None , project = None , is_admin = True , show_deleted = show_deleted , all_tenants = all_tenants ) return context