Re: Pyramid Simpleform and Colander

2012-01-22 Thread BruceC
rendering methods - eg $ { myform.field('foo').label() }, ${ myform.field('foo').value() } $ { myform.field('foo').errors() } - that would definitely make it a more broadly functional package imho... Cheers, BruceC On Jan 23, 6:58 am, Chris McDonough chr...@plope.com wrote: On Sun, 2012-01-22

Re: Pyramid Simpleform and Colander

2012-01-22 Thread BruceC
, things can get messy pretty quickly :) Anyone have any tips on where you might start looking at modifying Deform to allow it to render specific form parts? -BruceC On Jan 23, 12:35 pm, Chris McDonough chr...@plope.com wrote: On Sun, 2012-01-22 at 19:59 -0500, Alex Clark wrote: On 1/22/12 7:54

Re: Pyramid Simpleform and Colander

2012-01-18 Thread BruceC
layout. Do you know if manual form layout is possible with Deform? Cheers, Bruce Coble On Jan 18, 6:21 pm, Chris McDonough chr...@plope.com wrote: On Tue, 2012-01-17 at 23:06 -0800, BruceC wrote: Hi all, it would appear the current version of pyramid_simpleform would be 0.6.1, which relies

Pyramid Simpleform and Colander

2012-01-17 Thread BruceC
Hi all, it would appear the current version of pyramid_simpleform would be 0.6.1, which relies on Formencode, however I have spotted a version 0.7 on bitbucket that Dan Jacob put together that also allows a user to generate form schemas in Pyramid using Colander, which would be my preference.

Cannot add route with variable

2012-01-10 Thread BruceC
Hi all, I'm using the 1.3 branch of Pyramid, when I add a url dispatch route such as config.add_route('user_edit', 'user/edit'), I have no issues. But as soon as I add any variable in the the route pattern (eg config.add_route('user_edit', 'user/edit/{id}')), Pyramid is throwing an exception.

Re: Cannot add route with variable

2012-01-10 Thread BruceC
parameter... Problem solved :) Cheers, Bruce Coble On Jan 11, 12:05 pm, Gael Pasgrimaud g...@gawel.org wrote: On Wed, Jan 11, 2012 at 1:52 AM, BruceC bruce.co...@hp.com wrote: Hi all, I'm using the 1.3 branch of Pyramid, when I add a url dispatch route such as config.add_route('user_edit

Re: Mako templates in 1.3a2

2011-12-18 Thread BruceC
Without the mako.directories setting you may need a forward slash for a relative renderer link, eg Replace this: @view_config(route_name='home', renderer='templates/ mytemplate.mako') With this: @view_config(route_name='home', renderer='/templates/ mytemplate.mako') I am using the

Re: A Plone clone for Pyramid?

2010-11-15 Thread BruceC
I'm actually in the process of trying to port my old Joomla (that's php, folks!) site to something in Pylons...for my purposes of not losing too much content I was trying to use a vaguely similar db schema so I could export data still have it be useful in the new app...(I'll let you know if I get

Re: Pylons 1.0 and repoze.what tutorial

2010-09-06 Thread BruceC
I was attempting the same thing was floundering until I found your tutorial saurabh - thanks for posting it! Cheers, BruceC On Sep 6, 3:13 pm, saurabh saraf.saur...@gmail.com wrote: Thanks Eric for pointing out the login template bug. I replaced the wrong version with the correct one you

Re: Hiring Pylons Devs in NYC

2010-08-15 Thread BruceC
Wish there were more in the Sydney area :) On Aug 13, 8:54 am, Wojtek Augustynski waugustyn...@gmail.com wrote: Nice to see. Wish there were more Pylons jobs in the SF Bay Area! :) On Thu, Aug 12, 2010 at 3:37 PM, Jonathan Vanasco jonat...@findmeon.comwrote: Hi all- One of the

Best way to setup a Pylons site for dual ssl/non-ssl access...

2010-05-17 Thread BruceC
Hi all, I am trying to design a Pylons application that would allow me to have a public non-ssl website and a private ssl-enabled administration section, I'm interested in some best-practice suggestions... The idea would be that the public could go to http://www.mysite.com to view the public

Javascript in Pylons for ToscaWidgets with Mako

2007-07-16 Thread BruceC
Hi all...I posted this in the ToscaWidget discussion board, (http:// groups.google.com/group/toscawidgets-discuss/browse_thread/thread/ c2250165e832c1a?hl=en) but in some ways it's more of a Pylons question, so I thought I'd ask the question here as well... I'm trying to work out how to ensure

Re: Pagination problems using SQLAlchemy MSSQL in Pylons - no OFFSET

2007-07-10 Thread BruceC
, it seems to me like a bug in SQLAlchemy implementation, if it works for other engines...still working on it, so if anyone has solved this, I'd love to hear from you :) On Jul 10, 3:28 pm, Philip Jenvey [EMAIL PROTECTED] wrote: On Jul 9, 2007, at 9:37 PM, BruceC wrote: Hi all, I am using