Did I find the right examples for you? yes no

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

src/p/y/pyramid_backend-1.0.3/pyramid_backend/resources.py   pyramid_backend(Download)
    model = model_helper.get_registered_model(model)
 
    url = pb.ADMIN_SITE_PATH + model.__backend_manager__.slug
    if action:
        url += '/' + action
        model = obj.__class__
    obj_id = model.__backend_manager__.object_id(obj)
    url = pb.ADMIN_SITE_PATH + model.__backend_manager__.slug + '/' + str(obj_id)
    if action:
        url += '/' + action