Hi All,

I'm implementing web-bases photo management application using Pylons
framework.
I implemented security checks by defining __before__ method in
BaseController class and everything works fine.
But I have problem when user tries to access to undefined action of
some controller.

In this case in plain Pylons (without my __before__ implementation)
exceptions.NotImplementedError raised.
But when I override __before__ method my security checks runs before
Pylons raises this exeption.

In simple words, why __before__ method called if controller`s action
not found yet?
Is this correct behavior or bug?

Many thanks,
Dmitry

--~--~---------~--~----~------------~-------~--~----~
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