Hi, all. Is there a list of available Pyramid plugins, which will add
missing functionality? They usually start with pyramid_*, like
pyramid_simpleform.
--
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to
On Thu, 2011-12-08 at 01:12 -0800, rihad wrote:
Hi, all. Is there a list of available Pyramid plugins, which will add
missing functionality? They usually start with pyramid_*, like
pyramid_simpleform.
The ones produced by the Pylons Project are listed here:
Hi Michael,
Thanks a lot. It works, however, I only removed
config.set_session_factory(session_factory)
so, now it reads:
session_factory = session_factory_from_settings(settings)
config = Configurator(settings = settings, session_factory =
session_factory)
Thanks, just what I was looking for.
--
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to
On Wed, 07 Dec 2011 16:56:20 -0800, H.T. Wei wrote:
Hi,
I am a newbie to Pyramid and have a question about passing variable
between callable like this one:
def callable_a(request):
id = 1
...
return dict( ... )
def callable_b(request):
# get id from
That's fine, my point is that it should read:
config = Configurator(settings=settings)
config.include('pyramid_beaker')
The effect is the same, but you are doing extra work using your setup,
which you'd only want to do if you had some special way of setting up that
session.
On Thu, Dec 8, 2011
Thank you all for the suggestion!
On Thu, Dec 8, 2011 at 2:55 AM, Dan Sommers d...@tombstonezero.net wrote:
On Wed, 07 Dec 2011 16:56:20 -0800, H.T. Wei wrote:
Hi,
I am a newbie to Pyramid and have a question about passing variable
between callable like this one:
def
If there any Vancouverites here, I've just created a meetup group for
Pyramid and Pylons users. Would love to meet others face to face!
link:
http://www.meetup.com/Vancouver-Pyramid-Pylons
We won't schedule a real meeting obviously until we have some peeps.
iain
www.xornot.com
--
You received
Hi,
How can I add / modify query parameters of the current url in my view code?
I would like to add new parameters to current url if there are no parameters
for example: http://127.0.0.1:6543/countries/list?sort=code
I am using mako + url dispatch.
@view_config(route_name=countries_list,
Hi,
How can I add query parameters to the current url in my view code?
I would like to add new parameters to current url if there are no parameters
for example: http://127.0.0.1:6543/countries/list?sort=code
I am using mako + url dispatch.
@view_config(route_name=
countries_list,
request.route_url() has a _query argument that is documented.
request.route_url('countries_list', _query={'sort': 'foo', 'dir': 'asc'})
# - http://127.0.0.1:6543/countries/list?sort=foodir=asc
The following line works fine:
self.request.response.set_cookie( 'fb-loggedin',
value='1', max_age=None, path='/' )
However, this line creates an interesting error
self.request.response.set_cookie( 'fb-loggedin', value=1,
max_age=None, path='/' )
IOError: [Errno 20] Not a
opening 1 might have gotten stdout which is the only thing I can think
would give that sort of an error.
Why it would open a file for a cookie value I don't know, but, that
would be my first guess without digging into the code.
--
You received this message because you are subscribed to the
On Thu, 2011-12-08 at 20:48 -0800, cd34 wrote:
opening 1 might have gotten stdout which is the only thing I can think
would give that sort of an error.
Why it would open a file for a cookie value I don't know, but, that
would be my first guess without digging into the code.
This error comes
14 matches
Mail list logo