Re: Pyramid 1.2 with debugtoolbar + mongodb

2011-09-23 Thread Chris McDonough
On Fri, 2011-09-23 at 14:35 -0700, Adrien wrote: > Hi, > > I'm trying to setup a Pyramid 1.2 + mongodb projet. I'm following the > recipe found here: > https://docs.pylonsproject.org/projects/pyramid_cookbook/dev/mongo.html > > However, the line below from __init__.py generates an internal error

Pyramid 1.2 with debugtoolbar + mongodb

2011-09-23 Thread Adrien
Hi, I'm trying to setup a Pyramid 1.2 + mongodb projet. I'm following the recipe found here: https://docs.pylonsproject.org/projects/pyramid_cookbook/dev/mongo.html However, the line below from __init__.py generates an internal error: config.registry.settings['db_conn'] = conn #line 1

Re: Is there any way to do read-only form fields in deform

2011-09-23 Thread Chris Rossi
On Fri, Sep 23, 2011 at 5:05 PM, Chris Pyper wrote: > I need a way of making a form field editable the first time you use > it, but read-only after that. I have tried using template='readonly/ > textinput’, but it breaks the form when I try to submit it, as it > can’t find the field that is requ

Is there any way to do read-only form fields in deform

2011-09-23 Thread Chris Pyper
I need a way of making a form field editable the first time you use it, but read-only after that. I have tried using template='readonly/ textinput’, but it breaks the form when I try to submit it, as it can’t find the field that is required. Is their a way I can set the equivalent to disabled=tru

Re: Ahet is looking for a maintainer

2011-09-23 Thread Chris Withers
On 21/09/2011 14:07, Ergo wrote: One thing i was planning to do would be implementing this recipie: https://docs.pylonsproject.org/projects/pyramid_cookbook/dev/sqla.html#using-a-non-global-session and have Akhet use the non-global database session. I wrote a package basically for managing SQL

Re: RuntimeError: maximum recursion depth exceeded

2011-09-23 Thread Mike Orr
Check if you have WebOb 1.1 installed, and if so downgrade to WebOb 1.0.7. (Put "WebOb==1.0.7" in your application's setup.py and run your preferred pip/easy_install command.) There's an incompatibility between Pylons 1 and WebOb 1.1 that causes a recursion error. However, I would have expected th

Re: full text search + sqlalchemy?

2011-09-23 Thread Eric Rasmussen
Thanks everyone. Sounds like PostgreSQL full text search is the way to go for the project I'm working on. I initially started looking into this in order to improve the user experience of a small application -- seems like everyone has high expectations for search functionality these days! But aside

Re: Redirect to HTTPS

2011-09-23 Thread Jason
I can dig it, I was hoping to use only Paste though. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To view this discussion on the web visit https://groups.google.com/d/msg/pylons-discuss/-/Z93l8k7UffcJ. To post to this group, send email to

Re: Initializing Suds Client in Pylons

2011-09-23 Thread Wyatt Baldwin
app_globals might be a better place for this. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To view this discussion on the web visit https://groups.google.com/d/msg/pylons-discuss/-/B_Lx-7f2IW4J. To post to this group, send email to pylons-

Re: Redirect to HTTPS

2011-09-23 Thread Rick Harding
On Fri, 23 Sep 2011, Jason wrote: > When using ssl_pem parameter in the server:main section, is there a way to > forward any http connections to https automatically instead of returning an > error? > > Thanks, > > Jason This is generally done at the http server level. For instance using nginx

Redirect to HTTPS

2011-09-23 Thread Jason
When using ssl_pem parameter in the server:main section, is there a way to forward any http connections to https automatically instead of returning an error? Thanks, Jason -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To view this discus

Re: full text search + sqlalchemy?

2011-09-23 Thread Paul Everitt
In the KARL project we recently (last 3 months) switched from repoze.catalog's textindex to repoze.pgtextindex which uses PostgreSQL text indexing. We learned quite a lot about it along the way and are quite pleased with the result. Compared to what we came from: better performance, less memor

Initializing Suds Client in Pylons

2011-09-23 Thread Vincent Catalano
I am currently using Pylons for an e-commerce web application. I am using Authorize.net as the customer management and payment gateway. Authorize.net provides a nice SOAP library for managing different server requests. I am using the Python SUDS library to handle these calls throughout the applica