Re: Unclear behaviour of formencode.Schema with UnicodeString items

2011-02-12 Thread Ian Wilson
Not really, I think you have a point. If it is inconvenient to extend the existing string validators then the addition of a new more web form friendly string validator sounds like a good idea. On Fri, Feb 11, 2011 at 9:53 AM, Maxim Avanov wrote: > Thanks for the snippet above, Ian. > > > What ou

Re: Noob question: separate environment paths to static files on CDN

2011-02-12 Thread elgreg
NM found this: https://groups.google.com/group/pylons-discuss/browse_thread/thread/19f7f441b9c20544/c9fcbbc6405b9f5b?lnk=gst&q=setup+version#c9fcbbc6405b9f5b for how to get the app version and a separate discussion on changing URLs dynamically here: https://groups.google.com/group/pylons-discuss/

Re: Custom action in a RestController?

2011-02-12 Thread Mike Orr
On Fri, Feb 11, 2011 at 5:00 AM, He Shiming wrote: > Dear Community, > > I'm wondering how to add a custom action to a rest controller? > > I used `paster restcontroller user users` to create UsersController. > Besides rest-style actions, I would like to add a custom one, so I > put: > > def valid

REST App Server ...

2011-02-12 Thread Andrew W. Donoho
Gentlefolk, Thank you to all of the fine Pythonistas I've been corresponding with and meeting. I now have a list of seven frameworks with which to build a REST app server. 1) Django-Piston, 2) Django-TastyPie,

Re: Noob Question: REST App Server ...

2011-02-12 Thread Patrice Neff
On Thu, Feb 10, 2011 at 8:40 PM, Andrew wrote: > I've searched your archive and I cannot find a discussion of how to > build just a REST app server in Pylons. I hope I'll be forgiven for a shameless plug here. Personally I prefer creating REST services using my WsgiService framework

Noob question: separate environment paths to static files on CDN

2011-02-12 Thread elgreg
I'm deploying a large web-app to the cloud and would like to switch between versions of static assets using only setup.py. I'm using a CDN and far-future expires headers, so I need to change the path each time I deploy (and, even, better, at will without have to load up new files). My current plan

Re: problem in pylons web application

2011-02-12 Thread James Gardner
Which version of FormBuild are you using and where did you see that example please? In the latest version there is no helpers module. I'd suggest either installing an older version or updating to version 3 and using the Form class. pip install --upgrade "FormBuild>=3.0,<=3.0.99" Docs for that ver