1.3a5 or better required.
- C
I suspect that the quality of the 1.3 branch is actually very good,
but if you'd rather stick to 1.2, you could do something like this:
def my_view(name, **kwargs):
kwargs.setdefault('context', 'package.views.someview.SomeView')
return view_config(name, **kwargs)
And then use @my_view as a decorator instead of @view_config
Hope that helps,
Simon
It's up to you, but the alpha designator on the 1.3 branch isn't a
quality metric. We're likely to release a beta within a couple of
weeks, and no major features remain to be implemented.
- C
>
>
> Thanks
>
>
> Cosmia
>
> --
> You received this message because you are subscribed to the Google
> Groups "pylons-devel" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pylons-devel/-/iVDSRdDIBG8J.
> To post to this group, send email to pylons...@googlegroups.com.
> To unsubscribe from this group, send email to pylons-devel
> +unsub...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pylons-devel?hl=en.