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

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

src/q/u/qualitio-HEAD/qualitio/organizations/__init__.py   qualitio(Download)
from qualitio.organizations.models import Project, Organization, OrganizationMember
from qualitio.organizations.forms import (ProjectForm, ProjectUserForm,
                                          OrganizationProfileForm, OrganizationUsersForm)
from qualitio.organizations.auth.decorators import permission_required
 

src/q/u/qualitio-HEAD/qualitio/organizations/admin.py   qualitio(Download)
from django.contrib import admin
from qualitio.core.utils import FieldList
 
from qualitio.organizations.models import Project, Organization, OrganizationMember
 

src/q/u/qualitio-HEAD/qualitio/organizations/auth/registration/views.py   qualitio(Download)
from django.core.mail import send_mail
 
from qualitio.organizations.models import OrganizationMember
 
import forms

src/q/u/qualitio-HEAD/qualitio/organizations/auth/decorators.py   qualitio(Download)
        def wrapper(request, *args, **kwargs):
            from qualitio.organizations.models import OrganizationMember
 
            role = getattr(OrganizationMember, mode, 999999)
            if not request.organization.members.filter(pk=request.user.pk,

src/q/u/qualitio-HEAD/qualitio/organizations/auth/backends.py   qualitio(Download)
from social_auth.backends.google import GoogleBackend
 
from qualitio.organizations.models import OrganizationMember
from qualitio import THREAD
 

src/q/u/qualitio-HEAD/qualitio/googleapps/backends/__init__.py   qualitio(Download)
from social_auth.backends import OpenIdAuth, OpenIDBackend
from social_auth.backends.google import GoogleAuth
 
from qualitio import THREAD
from qualitio.organizations.models import OrganizationMember

src/q/u/qualitio-HEAD/qualitio/core/templatetags/application_view_menu.py   qualitio(Download)
        views = []
        for view in registry.get(obj.__class__, None):
            from qualitio.organizations.models import OrganizationMember
 
            if view['role']:

src/q/u/qualitio-HEAD/qualitio/core/middleware.py   qualitio(Download)
 
        if user.is_authenticated():
            from qualitio.organizations.models import OrganizationMember
 
            try: