Module ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias alias ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore Str FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad NameLoad Str body Return AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Return AttributeLoad NameLoad attr decorator_list Assign NameStore NameLoad decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore Str FunctionDef arguments args NameParam defaults body Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If Call NameLoad NameLoad Str body Return AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If BoolOpAnd UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Call NameLoad Str Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If BoolOpAnd UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Call NameLoad Str Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If BoolOpAnd CompareNotEq AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr AttributeLoad NameLoad attr UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Raise Call NameLoad Call NameLoad Str Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list
N/A django.core.exceptions PermissionDenied django.shortcuts get_object_or_404 django.utils.translation ugettext_lazy _ models Organization OrganizationUser OrganizationMixin N/A object N/A N/A Mixin used like a SingleObjectMixin to fetch an organization N/A org_model Organization N/A org_context_name organization get_org_model N/A N/A self N/A N/A N/A N/A self org_model N/A get_context_data N/A N/A self N/A kwargs N/A N/A N/A N/A kwargs update N/A N/A self org_context_name N/A N/A self get_organization N/A N/A N/A N/A super OrganizationMixin self get_context_data kwargs N/A get_object N/A N/A self N/A N/A N/A N/A hasattr self organization N/A N/A N/A self organization N/A organization_pk N/A N/A N/A self kwargs get organization_pk None N/A N/A self organization N/A get_object_or_404 N/A N/A self get_org_model pk organization_pk N/A N/A self organization N/A N/A get_organization get_object N/A OrganizationUserMixin N/A OrganizationMixin N/A N/A Mixin used like a SingleObjectMixin to fetch an organization user N/A user_model OrganizationUser N/A org_user_context_name organization_user get_user_model N/A N/A self N/A N/A N/A N/A self user_model N/A get_context_data N/A N/A self N/A kwargs N/A N/A kwargs N/A N/A N/A super OrganizationUserMixin self get_context_data kwargs N/A N/A N/A kwargs update N/A N/A self org_user_context_name N/A self org_context_name N/A self object N/A N/A self object organization N/A kwargs N/A get_object N/A N/A self N/A N/A N/A  Returns the OrganizationUser object based on the primary keys for both
        the organization and the organization user.
         N/A N/A hasattr self organization_user N/A N/A N/A self organization_user N/A organization_pk N/A N/A N/A self kwargs get organization_pk None N/A user_pk N/A N/A N/A self kwargs get user_pk None N/A N/A self organization_user N/A get_object_or_404 N/A N/A N/A OrganizationUser objects select_related user__pk user_pk organization__pk organization_pk N/A N/A self organization_user N/A N/A MembershipRequiredMixin N/A object N/A N/A This mixin presumes that authentication has already been checked dispatch N/A N/A self request N/A args kwargs N/A N/A N/A self request request N/A N/A self args args N/A N/A self kwargs kwargs N/A N/A self organization N/A N/A self get_organization N/A N/A N/A N/A N/A N/A self organization is_member N/A request user N/A N/A N/A request user is_superuser N/A N/A N/A PermissionDenied N/A _ Wrong organization N/A N/A N/A N/A super MembershipRequiredMixin self dispatch request args kwargs N/A N/A AdminRequiredMixin N/A object N/A N/A This mixin presumes that authentication has already been checked dispatch N/A N/A self request N/A args kwargs N/A N/A N/A self request request N/A N/A self args args N/A N/A self kwargs kwargs N/A N/A self organization N/A N/A self get_organization N/A N/A N/A N/A N/A N/A self organization is_admin N/A request user N/A N/A N/A request user is_superuser N/A N/A N/A PermissionDenied N/A _ Sorry, admins only N/A N/A N/A N/A super AdminRequiredMixin self dispatch request args kwargs N/A N/A OwnerRequiredMixin N/A object N/A N/A This mixin presumes that authentication has already been checked dispatch N/A N/A self request N/A args kwargs N/A N/A N/A self request request N/A N/A self args args N/A N/A self kwargs kwargs N/A N/A self organization N/A N/A self get_organization N/A N/A N/A N/A N/A N/A N/A self organization owner organization_user user N/A request user N/A N/A N/A request user is_superuser N/A N/A N/A PermissionDenied N/A _ You are not the organization owner N/A N/A N/A N/A super OwnerRequiredMixin self dispatch request args kwargs N/A N/A