This would require a change in the URL convention and could make
dispatching slower.
Why do you need this? I am not saying no but I need to be convinced.


On Nov 9, 12:02 pm, eggy_ <[email protected]> wrote:
> I guess the term 'package' is not really applicable. What I meant was
> that I want to have the ability to use subdirectories as part of the
> controller. So that the controller part basically becomes
> 'somedirectory/somecontroller'. You can currently only have a
> 'somecontroller'.
>
> On Nov 9, 5:03 pm, mdipierro <[email protected]> wrote:
>
> > I do not understand what you mean by "packages". You can use python
> > "import whatevermodule.py"
>
> > On Nov 9, 9:56 am, Timbo <[email protected]> wrote:
>
> > > Because web2py exec()s controllers rather than importing them,
> > > packages are not currently an option.  Whats you're reason for needing
> > > packages?  Maybe we can help you find a better solution.
>
> > > On Nov 9, 4:18 am, eggy_ <[email protected]> wrote:
>
> > > > Hello,
>
> > > > I want to divide my controller logic up into packages, where the
> > > > controller part will be 'package/subpackage/module' instead of just
> > > > 'module'. Currently, I can only use a module as the controller, and
> > > > the corresponding view will be a directory with the module's name,
> > > > containing a bunch of views that correspond with the request functions
> > > > in the controller. In this case I want the view files corresponding
> > > > with the request functions in 'module' to be located in 'applications/
> > > > myapp/views/package/subpackage/module/'.
>
> > > > regards,
>
> > > > Mark
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to