On Apr5, 1:48pm, "[email protected]" <[email protected]> wrote: > As far as I understand from the manual, it is not possible to store > controllers in sub folders in the Controller folder in web2py. > > Is that right? If that is not correct, what URL would one use to > access a function called "user_reg" in a controller called called > "useradd" in a folder called "user" in the folder "Controllers" in > web2py. Additionally, what parts of the manual discuss the topics I > need to understand in order to do the above. > > If it is not possible, well...I am sure it has to be possible... it is > such an important feature for organizing a large project...
I don't know ... but do you really need sub folders to store your controller? I assume you already know that, you can have many controllers as yourapp/controllers/*.py, and each controller can have many actions. The following arrangements is very similar to your example, although not fully identical. yourapp/controllers/user.py # In which there is a group of parallel actions named user_reg() and user_forgot_password() and user_logout() etc. yourapp/controllers/realjob.py # In which there is some more actions like search(), place_order(), pay_money(), etc. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

