On Thu, Apr 15, 2010 at 9:38 PM, Jack Tihon konoham...@gmail.com wrote:
I was getting the same thing when I was trying to reference h.url() which
no longer exists.
It's not 'h.url' unless you import it to helpers.py that way. It's
just 'url' in templates. In controllers and other modules it's
On Apr 16, 2010, at 2:37 AM, Mike Orr wrote:
On Thu, Apr 15, 2010 at 9:38 PM, Jack Tihon konoham...@gmail.com wrote:
I was getting the same thing when I was trying to reference h.url() which
no longer exists.
It's not 'h.url' unless you import it to helpers.py that way. It's
just
Could you try commenting out AuthKit and seeing if the error changes?
I doubt it will, but that would rule out AuthKit as a contributor.
Problem still exists when I removed AuthKit from the middleware. I
also tried recreating the virtualenv but that didn't seem to affect
things.
I'm going to
On Fri, Apr 16, 2010 at 9:32 AM, Jack Tihon konoham...@gmail.com wrote:
Yeah, I was just following the tutorial and getting
Which tutorial are you following?
I was walking through this which references h.url()
http://pylonshq.com/docs/en/1.0/forms/#the-basics
OK, that's a mistake in the doc.
I'm going to go try recreating the whole app and copying over my
changes to see if I can track where it goes astray.
My problem was caused by me adding a @nocache decorator to the
BaseController's __call__method. As soon as that was removed,
Template errors started appearing again.
I must
On Fri, Apr 16, 2010 at 10:22 AM, kazin richka...@gmail.com wrote:
I'm going to go try recreating the whole app and copying over my
changes to see if I can track where it goes astray.
My problem was caused by me adding a @nocache decorator to the
BaseController's __call__method. As soon as
i never had to do this before.
some sample code is below; basically in a function i need to 'expire'
some looped items , so i pull fresh from the db.
my problem is that i don't know how to access the db from within the
model ; i could pass-it-in explicitly from the controller... but i'd
really
On Apr 16, 12:46 pm, Jonathan Vanasco jonat...@findmeon.com wrote:
i never had to do this before.
some sample code is below; basically in a function i need to 'expire'
some looped items , so i pull fresh from the db.
my problem is that i don't know how to access the db from within the
model
Today I tried to make a test for a utility function that uses
app_globals, without going through a web request. I called
``self.app.get(/_test_vars)`` as the docs recommend, assuming it
would set ``pylons.app_globals``. Instead it returns a response object
with an ``._app_globals`` attribute.