Did I find the right examples for you? yes no

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

src/v/o/vosae-app-HEAD/www/core/models/vosae_group.py   vosae-app(Download)
 
from core.models.embedded.vosae_permissions import VosaePermissions
from core.exceptions import AdministratorGroupIsImmutable
from core.tasks import es_document_index, es_document_deindex
 
        """
        if not self._created and self.is_admin and not force:
            raise AdministratorGroupIsImmutable()
        super(VosaeGroup, self).save(*args, **kwargs)
 
        """
        if self.is_admin and not force:
            raise AdministratorGroupIsImmutable()
        super(VosaeGroup, self).delete(*args, **kwargs)