On Sat, Nov 22, 2008 at 7:25 PM, Gustavo Narea <[EMAIL PROTECTED]> wrote:

>
> The _same_ code of the SecureController.check_security in quickstarted
> applications is implemented in the TGController.check_security:
> http://trac.turbogears.org/browser/trunk/tg/controllers.py?rev=5743#L514
>
> So, SecureController subclasses that class just to override a method by using
> the original method's code. Why?

then the answer is: Yes we can.

That will make any controller a would be secure controller and that's
even better :)

Florent.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" 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/turbogears-trunk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to