On Feb 19, 4:52 pm, Mike Orr <[email protected]> wrote:

> Using the standard PylonsApp, no.  The controller class is calculated
> from the module name, and that doesn't allow for multiple controllers
> per file.

The docs should reflect this then, because this is the first I've ever
heard of it!

I should also feel lucky that my apps run right now...

Almost all of them use the concept

class _mixin:
  defs...

class _mixin:
  defs...

class controller( _mixin , _mixin , basecontroller):
  pass

so that i can re-use functions as needed ( ie: allowing for 'preview'
sites to inherit the logic off other controllers )
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to