Did I find the right examples for you? yes no

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

src/p/y/pyf.services-2.0.2/pyf/services/controllers/user.py   pyf.services(Download)
from pyf.services.model import User, Group, Permission
from pyf.services.controllers.crud import (SecureCrudRestController, DataGrid,
                                     render_boolean, render_link_field,
                                     has_model_permission)
from sprox.formbase import AddRecordForm, EditableForm
class UserController(SecureCrudRestController):
    model = User
    __order_by__ = 'user_name'
    __desc__ = False
 
class GroupController(SecureCrudRestController):
    model = Group
    __order_by__ = 'group_name'
    __desc__ = False
 
class PermissionController(SecureCrudRestController):
    model = Permission
    __order_by__ = 'permission_name'
    __desc__ = False
 

src/p/y/pyf.services-2.0.2/pyf/services/controllers/tube.py   pyf.services(Download)
from sprox.fillerbase import EditFormFiller
 
from pyf.services.controllers.crud import (SecureCrudRestController, DataGrid,
                                     render_boolean, render_link_field,
                                     has_model_permission, itemize)
class TubeController(SecureCrudRestController):
    model = Tube
    __post_to_versionning__ = True
    __order_by__ = 'name'
    __desc__ = False

src/p/y/pyf.services-2.0.2/pyf/services/controllers/events.py   pyf.services(Download)
from sprox.fillerbase import EditFormFiller
 
from pyf.services.controllers.crud import (SecureCrudRestController,
                                        DataGrid,
                                        render_boolean,
class EventTrackController(SecureCrudRestController):
    model = EventTrack
    __order_by__ = 'start_date'
    __desc__ = True
 

src/p/y/pyf.services-2.0.2/pyf/services/controllers/dispatch.py   pyf.services(Download)
from sprox.fillerbase import EditFormFiller
 
from pyf.services.controllers.crud import (SecureCrudRestController,
                                        DataGrid,
                                        render_boolean,
class DispatchController(SecureCrudRestController):
    model = Dispatch
    __order_by__ = 'display_name'
    __desc__ = False
 

src/p/y/pyf.services-2.0.2/pyf/services/controllers/descriptor.py   pyf.services(Download)
from sprox.fillerbase import EditFormFiller
 
from pyf.services.controllers.crud import (SecureCrudRestController, DataGrid,
                                        render_boolean, render_link_field,
    has_model_permission)
class DescriptorController(SecureCrudRestController):
    model = Descriptor
    __post_to_versionning__ = True
    __order_by__ = 'name'
    __desc__ = False

src/p/y/pyf.services-2.0.2/pyf/services/controllers/tubelayer.py   pyf.services(Download)
from sprox.fillerbase import EditFormFiller
 
from pyf.services.controllers.crud import (SecureCrudRestController, DataGrid,
                                        render_boolean, render_link_field,
    has_model_permission)
class TubeLayerController(SecureCrudRestController):
    model = TubeLayer
    __post_to_versionning__ = True
    __order_by__ = 'name'
    __desc__ = False

src/p/y/pyf.services-2.0.2/pyf/services/controllers/tasks.py   pyf.services(Download)
from sprox.tablebase import TableBase
 
from pyf.services.controllers.crud import (SecureCrudRestController,
                                        DataGrid,
                                        render_boolean, render_link_field,
class TaskController(SecureCrudRestController):
    model = TubeTask
    __order_by__ = 'display_name'
    __desc__ = False
 

src/p/y/pyf.services-2.0.2/pyf/services/controllers/tubestorage.py   pyf.services(Download)
from sprox.fillerbase import EditFormFiller
 
from pyf.services.controllers.crud import (SecureCrudRestController, DataGrid,
                                     render_boolean, render_link_field,
                                     has_model_permission)
class TubeStorageController(SecureCrudRestController):
    model = TubeStorage
    __post_to_versionning__ = False
    __order_by__ = 'identifier'
    __desc__ = False