About pyramid_formish

2011-01-21 Thread Victor Fernandez de Alba
Hi guys, First things first: Great job Chris (et al.) for this awesome framework! I'm playing around with Pyramid since a while and I have some forms working with pyramid_formish. Since there is no release in pypi, is it going to be supported? Any plans for an "official" or recommended form gene

Beaker caching in a view callable defined as a class in Pyramid

2011-02-04 Thread Victor Fernandez de Alba
Hi! There's a way to make Beaker work inside a view callable defined as a class? For example: from beaker.cache import cache_region @view_config(name="demo.html", renderer='epi:templates/mytemplate.pt') class demoView(object): def __init__(self,context,request): """ """

Re: Beaker caching in a view callable defined as a class in Pyramid

2011-02-04 Thread Victor Fernandez de Alba
Great!! Just added: def __str__(self): return "%s.%s" % (self.__module__, self.__class__.__name__) Works like a charm. Thanks, V. PD: However, maybe it's worth to document it in the pyramid_beaker docs... On 4 Feb 2011, at 15:13, Daniel Holth wrote: > cache_key = " ".join(map(str,

Re: view_config registers twice if module is imported more than once with scan

2011-03-01 Thread Victor Fernandez de Alba
Hi, I've experienced this issue as well using classes for rendering views when the class inherits from other class which already have other view declared. For example: @view_config( ) class myViewClass(): ... @view_config( ) class myOtherView(myViewClass): I've workarround it b

Re: OAuth 2.0 for Pyramid

2012-09-13 Thread Victor Fernandez de Alba
For the record... A few months ago I've developed an Oauth2 provider based in Pyramid too. It works with the resource owner password credentials flow. This flow is not the most popular oAuth flow, but it's useful in case that we want to oAuth enable an app or a set of apps in an scenario with an a

Robot framework testing with Pyramid

2013-02-10 Thread Victor Fernandez de Alba
Hi, Has someone using right now Robot framework to run functional/acceptance selenium2 tests on Pyramid? There is a package called robotsuite that wraps up the boilerplate needed for Robot like a standard doctest but it needs that the local server launches and listen to a local port for the selen