def remove_user_from_organization(self, user):
        for group in user.groups.filter('%s#' % self.user.username):
            user.groups.remove(group)
Factory method for browser views.
dataset/ETHPy150Open kobotoolbox/kobocat/onadata/apps/api/models/organization_profile.py/OrganizationProfile.remove_user_from_organization--crossover with--dataset/ETHPy150Open enthought/mayavi/tvtk/plugins/browser/browser_plugin.py/BrowserPlugin._browser_view_factory