Hi, this one is a real head scratcher...
It works when I run the server normally, but gives this strange import
error when I run the tests...
http://stackoverflow.com/questions/31271419/pyramid-jinja2-importerror-cannot-import-name-environment
--
You received this message because you are subscri
Thanks Michael,
You were correct, the pyramid_tm was not listed as an includes in my
configuration file.
I appreciate your help, and I'll be sure to send future such queries
to the -discuss group,
Brian
On Fri, Jan 20, 2012 at 10:22 AM, Michael Merickel wrote:
> First of all, this s
n
the session.close() calls be added to the tutorial documentation?
Thanks,
Brian Brinegar
--
You received this message because you are subscribed to the Google Groups
"pylons-devel" group.
To post to this group, send email to pylons-devel@googlegroups.com.
To unsubscribe from this group
as timed out on the login
screen.
Is there a preferred way to determine if a session had existed and is
now invalid? How do others address this?
Thanks,
Brian
--
You received this message because you are subscribed to the Google Groups
"pylons-devel" group.
To post to this group, s
> I believe you should have a 'request.context' available in your callback.
Thanks Daniel. I've verified that the request.context exists and is
set before the authentication callback is called.
Brian
--
You received this message because you are subscribed to the Google Gro
to Pyramid and this seems foundational
and if what I'm doing is stupid I'd like to know now.
Thanks,
Brian
--
You received this message because you are subscribed to the Google Groups
"pylons-devel" group.
To post to this group, send email to pylons-devel@google
Chris,
Thanks for the reply. One more question...
Is it acceptable for __acl__ to be a callable associated with an
instance?
def __acl__(self):
return [
(Allow, 'user:%s' % self.owner, 'edit'),
]
Thanks,
Brian
--
You received this message because you are subs
chy on how this all fits together. The documentation is
great, if you're making a site where a group of editors can edit
everything, but not so much when you want individuals to be able to
edit specific instances.
I appreciate any advice,
Brian
--
You received this message because you are su
On Tue, May 24, 2011 at 08:41:38PM +0200, Wichert Akkerman wrote:
> On 2011-5-24 18:48, Brian Sutherland wrote:
> >Hi,
> >
> >I'm using zope.testbrowser to test a pyramid application I'm working on.
> >I'd really like to get the Browser.handleErrors knob
On Tue, May 24, 2011 at 06:55:34PM +0200, Gael Pasgrimaud wrote:
> Hi,
>
> On Tue, May 24, 2011 at 6:48 PM, Brian Sutherland
> wrote:
> >
> > But I'm guessing not. Any advice before I start working up a patch?
> >
>
> Use WebTest ? Just a thought. Mayb
this
Perhaps it's as simple as putting this in pyramid/router.py:
if not environ.get('wsgi.handleErrors', True):
raise
But I'm guessing not. Any advice before I start working up a patch?
--
Brian Sutherland
--
You received this message because you are subscribed to th
On Fri, Apr 01, 2011 at 07:33:44AM +0100, Chris Withers wrote:
> On 01/04/2011 07:23, Brian Sutherland wrote:
>> On Thu, Mar 31, 2011 at 04:49:38PM +0100, Chris Withers wrote:
>>> - isDoomed support: I guess this could be added to the example; can
>>> someone explain whe
True the transaction cannot be committed. .commit()
raises an exception.
--
Brian Sutherland
--
You received this message because you are subscribed to the Google Groups
"pylons-devel" group.
To post to this group, send email to pylons-devel@googlegroups.com.
To unsubscribe from this group, se
of the code, comes from r.who 1,
> which has been in heavy use for years now.
As an extra data point: we've also been using 2.0 in a project and it's
been very solid.
--
Brian Sutherland
--
You received this message because you are subscribed to the Google Groups
"pylons-devel&qu
14 matches
Mail list logo