h.url(controller, action)

2007-05-01 Thread Antipin Aleksei
Hi I have IndexController serving index.html that has sugnin form. And I want forward username and password to AccountController. ${ h.start_form(h.url(action='login'), method='POST') } returns 'index/login' Adding controller parameter: ${ h.start_form(h.url(controller='account',

Beaker 0.7dev-r67?

2007-05-01 Thread mitch
I have Pylons checked out from subversion. My local copy was working but I haven't used it in a couple of weeks. So, I just did an update and now I'm getting this error when running python setup.py develop: No local packages or download links found for Beaker=0.7dev-r67 error: Could not find

Pylons (Kid? Paste?) converting my XHTML to HTML

2007-05-01 Thread [EMAIL PROTECTED]
All my kid templates work great, but they seem to be parsed through some kind of filter (pylons is using HTMLSerializer from Kid maybe?) that converts all my tags into HTML 4.01 versions: title becomes TITLE and img src=blah / becomes IMG SRC=blah what is it that is doing this? Is there some way

sending email

2007-05-01 Thread voltron
Hi, Is there a specific way or helpers for sending mail in a controller in Pylons, or do I just import the smtp lib for python and use that? Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss

Re: Beaker 0.7dev-r67?

2007-05-01 Thread Ben Bangert
On May 1, 2007, at 8:09 AM, mitch wrote: I have Pylons checked out from subversion. My local copy was working but I haven't used it in a couple of weeks. So, I just did an update and now I'm getting this error when running python setup.py develop: With the release of 0.9.5, there shouldn't

Re: Beaker 0.7dev-r67?

2007-05-01 Thread mitch
Thanks. It is, indeed, working now. I guess I don't have a good reason at the moment for running out of subversion but if I start moving full speed ahead with Pylons I would like to be in a position to contribute. Mitch On May 1, 1:37 pm, Ben Bangert [EMAIL PROTECTED] wrote: On May 1, 2007,

Re: Serving static content

2007-05-01 Thread Cliff Wells
On Mon, 2007-04-30 at 10:34 -0700, voltron wrote: Thanks for your answers Cliff. I took a look at Nginx, it looks very interesting, would you care to post an example of your Nginx config file? Here's a pretty basic setup that proxies to a Pylons backend and serves static content from a

Re: Formencode and Checkbox/Radio Groups

2007-05-01 Thread Graham Stratton
Hi Dan, I've been struggling a bit with FormEncode too. Here's some controller code that almost works for me. To make it work, I had to change line 106 of pylons/decorators/__init__.py tp response.content = [htmlfill.render(form_content, decoded, errors)] (Passing 'decoded' instead of

Re: sending email

2007-05-01 Thread Shannon -jj Behrens
On 5/1/07, voltron [EMAIL PROTECTED] wrote: Hi, Is there a specific way or helpers for sending mail in a controllers in Pylons, or do I just import the smtp lib for python and use that? I just use smtplib. Best Regards, -jj -- http://jjinux.blogspot.com/

Re: Dave Kuhlman Pylons docs

2007-05-01 Thread Shannon -jj Behrens
On 4/29/07, voltron [EMAIL PROTECTED] wrote: The Pylons docs from Dave Kuhlman are excellent! These really cleared up my slightly hazy view of Pylons. In fact, almost all of the questions which I had lined up to ask, and those I have asked are discussed very clearly in it. Would the Pylons

Re: Pylons Evaluation -Questions

2007-05-01 Thread Shannon -jj Behrens
Sorry, no. Like I said, so far my approach is to avoid sessions as long as possible so that I don't have to deal with it ;) -jj On 4/28/07, voltron [EMAIL PROTECTED] wrote: Oh, by the way, do you have a recipe or a URL to a tutorial of Pylons using memcache? Thanks againf On Apr 28,

Re: Pylons Evaluation -Questions

2007-05-01 Thread Shannon -jj Behrens
Dan, I'm pretty sure we're agreeing. -jj On 4/28/07, Dan [EMAIL PROTECTED] wrote: IMHO. I never implemented memcache, but the distributed memory concept is *not* by itself scalable architecture. The key is session data. Typically (as in default Pylons setup) session data is tied to

Re: Registration app

2007-05-01 Thread Shannon -jj Behrens
On 4/28/07, voltron [EMAIL PROTECTED] wrote: Is there a recipe or a tutorial that someone could point me to on how to implement a registration and authentication app for users using pylons? There's AuthKit. I personally found it unsuitable for my needs so I rolled my own. I did make use of

Re: Pylons docs [was: Hold my hand, please]

2007-05-01 Thread Shannon -jj Behrens
On 4/28/07, Graham Higgins [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28 Apr 2007, at 01:48, Shannon -jj Behrens wrote: It looks nice, but I fear so many people have written overviews of Pylons that I'm completely losing track. [ ... ] There's *tons*

Re: Registration app

2007-05-01 Thread Shannon -jj Behrens
On 5/1/07, Shannon -jj Behrens [EMAIL PROTECTED] wrote: On 4/28/07, voltron [EMAIL PROTECTED] wrote: Is there a recipe or a tutorial that someone could point me to on how to implement a registration and authentication app for users using pylons? There's AuthKit. I personally found it

Re: Upgrading to 0.9.5 - unicode issue

2007-05-01 Thread Robert Leftwich
Shannon -jj Behrens wrote: The following is even better: if isinstance(component, basestring) Not sure if Mike is still taking patches for Myghty (the old technology!), but I'll see - if I didn't have 130 templates/components I would be moving sooner rather than later, to Mako or

Re: Session store

2007-05-01 Thread Shannon -jj Behrens
On 4/27/07, Cliff Wells [EMAIL PROTECTED] wrote: On Fri, 2007-04-27 at 17:24 -0700, Shannon -jj Behrens wrote: This topic is covered very nicely in Building Scalable Web Sites and Scalable Internet Architectures. Okay, one more plug for these books and there's going to be a demand for

Sending intermediate content

2007-05-01 Thread ben adam
i can't get this to work with 0.9.5 i have debug set to false ?? On Aug 17 2006, 9:06 am, benchline [EMAIL PROTECTED] wrote: That did it. After uncommenting that line and restarting the paster server the following function (slightly modified from the previous example to send all items to