Depending on the function, you can call client side via ajax without the need to redirect the user. ( but it is not safe )
I prefer to put my commom code in /modules and import when it is needed. Enviado via iPhone Em 01/12/2010, às 05:54, Dan <[email protected]> escreveu: > Hi, > > is there any way to execute a function in an other controller? > > controller1.py > func(): > do something > > controller2.py > func(): > do something else > call func() of controller1.py > do some more things > return > > I don't want to redirect the user.

