You only have to override the methods you want to override.
On Feb 20, 2011 11:43 PM, "pbreit" <[email protected]> wrote:
> I can't seem to figure out the correct way to subclass navbar(). Does this

> look close?
>
> === db.y ==
> from gluon.tools import *
>
> class MyAuth(Auth):
>
> def __init__(self, environment, db):
> pass
>
> def navbar(self,prefix='Welcome',action=None):
> ...
> return bar
>
> auth = MyAuth(globals(),db)
>
>

Reply via email to