>> # myapp/views/__init__.py
>> def includeme(config):
>> import myapp.views.accounts
>> config.add_view(myapp.views.accounts.AccountView,
>> attr="hello", route_name="home")
>
>
> What is home in this line? is it the route name?
Yes. So the route should have been 'config.add_route("home", "/")'
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.