Using pyramid_sqla I have the following login action:

class AccountHandler(object):
    ......some code.........
    @action(renderer='modules/account/login.html')
    def login(self):
        ......some code.........

Looking at the following docs:
    
http://docs.pylonsproject.org/projects/pyramid/1.0/narr/hooks.html#changing-the-forbidden-view
how would I adapt this code:
    config.add_view(forbidden_view, context=Forbidden)
to use with pyramid_sqla? (i.e. how i do specify handler/action in
place of forbidden_view)

Thanks,
Jamshed

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