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

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

src/p/o/pow_devel-HEAD/stubs/ext/auth/AuthController.py   pow_devel(Download)
    def __init__(self):
        self.modelname = "User"
        BaseController.BaseController.__init__(self)
        self.login_required = []
        self.locked_actions = {}

src/p/o/pow_devel-HEAD/stubs/ext/auth/UserController.py   pow_devel(Download)
        BaseController.BaseController.__init__(self)
        self.login_required = []
        # put the actions you implemented but do not want to be callable via web request 
        # into the locked_actions dictionary. Format: "actionname" : "redirect_to" }
        # simple_server and pow_router will not call locked actions but redirect to the given value, instead

src/p/o/pow_devel-HEAD/scripts/stuff/PostControllerWithoutLogin.py   pow_devel(Download)
    def __init__(self):
        self.modelname = "Post"
        BaseController.BaseController.__init__(self)
        self.login_required = []
 

src/p/o/pow_devel-HEAD/scripts/stuff/PostController.py   pow_devel(Download)
    def __init__(self):
        self.modelname = "Post"
        BaseController.BaseController.__init__(self)
        self.login_required = []
 

src/p/o/pow_devel-HEAD/scripts/blog/BlogPostController.py   pow_devel(Download)
    def __init__(self):
        self.modelname = "Post"
        BaseController.BaseController.__init__(self)
 
    def list( self, powdict ):

src/p/o/pow_devel-HEAD/stubs/controllers/AppController.py   pow_devel(Download)
    def __init__(self):
        # it is needed to set a Modelname before calling the BaseControllers init
        self.modelname = "App"
        BaseController.__init__(self)
 

src/p/o/pow_devel-HEAD/scripts/stuff/authenticate_test/auth.py   pow_devel(Download)
    def __init__(self):
        self.modelname = "User"
        BaseController.BaseController.__init__(self)
        self.login_required = {}