On Apr 19, 2010, at 7:27 PM, cd34 wrote:
I looked at that, but, when you're developing a webapp that has 315
forms, that lack of automation seems to fly in the face of why I chose
a framework.
Framework's don't automate programming for the web, they provide a structure
around it.
For me, the main reasons why I like Django's forms are:
a) html widgets (without having to maintain my own mako form widgets
library, as in Mike's approach)
b) I mostly understand the source code
c) well documented
Also, I've never really felt comfortable with formencode. I can't
really explain
FormAlchemy and formencode are two things.
Have a look at FormAlchemy, it's quite nice, it has a set of default widgets
while you can extend it. It's originally mapped to SQLAlchemy objects, but
now works for CouchDB schemas, Zope.schema, and some others. It even has a
Pylons automatic admin
On Mon, Apr 19, 2010 at 4:05 PM, JohnWShipman j...@nmt.edu wrote:
I'm a complete beginner following the steps in _The Definitive Guide
To Pylons.
The 'paster create' command worked with no apparent problems. But
this
command:
paster serve --reload development.ini
gets a stack
Dear NYC Pythonistas,
We at the Modi Research Group of the Earth Institute at Columbia
University are hiring another 100% Python commando to join our team of
consultants. The Modi Research Group plans energy services and
infrastructure in developing countries.
This is a full-time position with
I am using formencode to validate my forms, and I've stumbled upon a
problem.
When using tha validator inside the controller action, I call
to_python() and I can pass the state variable with any information I
need to the validators.
Is it possible to do the same with the validate decorator?
On Tue, Apr 20, 2010 at 7:01 AM, astroboy e.imho...@gmail.com wrote:
I am using formencode to validate my forms, and I've stumbled upon a
problem.
When using tha validator inside the controller action, I call
to_python() and I can pass the state variable with any information I
need to the
Here's what I did (in bash); answers to Mike Orr's questions below.
1. python virtualenv.py --no-site-packages root
2. cd root
3. source bin/activate
4. root/bin/easy_install Pylons
This got me version 0.9.6.2.
5. paster create --template=Pylons Site
6. cd Site
7. paster
OK, solution at bottom.
On Tue, Apr 20, 2010 at 10:24 AM, JohnWShipman j...@nmt.edu wrote:
Here's what I did (in bash); answers to Mike Orr's questions below.
1. python virtualenv.py --no-site-packages root
2. cd root
3. source bin/activate
4. root/bin/easy_install Pylons
This
On Tue, 20 Apr 2010, Mike Orr wrote:
6. cd Site
7. paster serve development.ini
OK, the problem is the project name 'Site'. You can't create a project
with the same name as a standard Python module. I have only seen it
with 'Test', but it looks like 'Site' has the same problem.
The
On Apr 20, 2:34 am, Ben Bangert b...@groovie.org wrote:
On Apr 19, 2010, at 7:27 PM, cd34 wrote:
I looked at that, but, when you're developing a webapp that has 315
forms, that lack of automation seems to fly in the face of why I chose
a framework.
Framework's don't automate
On Apr 20, 2010, at 2:45 AM, Martin Stein wrote:
For me, the main reasons why I like Django's forms are:
a) html widgets (without having to maintain my own mako form widgets
library, as in Mike's approach)
b) I mostly understand the source code
c) well documented
Also, I've never really
In particular, I want to trigger a long process by going to a page, without
having to wait for the process to finish.
I thought I could do this:
def page(self):
def stream():
yield content
long_process()
return stream()
But it doesn't exactly work. IE doesn't show
Ok, thanks for the answer. I was going crazy trying to do that.
On Apr 20, 6:11 pm, Mike Orr sluggos...@gmail.com wrote:
On Tue, Apr 20, 2010 at 7:01 AM, astroboy e.imho...@gmail.com wrote:
I am using formencode to validate my forms, and I've stumbled upon a
problem.
When using tha
I think IE needs at least 256 bytes before starting to show something from
the output, so it might be a browser thing.
If you want to launch a background thread, you can have a look at the
WebUndo package.. which will detach from the current request, and you could
always poke the progress through
On Apr 21, 9:31 am, jazg tazg2...@gmail.com wrote:
In particular, I want to trigger a long process by going to a page, without
having to wait for the process to finish.
I thought I could do this:
def page(self):
def stream():
yield content
long_process()
return
It still waits for the cleanup to finish before ending the response. I think
that is basically the same as the __after__ controller method which is
already built in to pylons. I tried that and had the same problem.
Isn't there a way to simply force the connection to close after my first
yield?
17 matches
Mail list logo