I'm new to Pyramid and can't figure out how to do something which
seems like it should be quite a common requirement.
Basically, I want to write a script that will use the database models
but will not need to do HTTP requests. The idea is that I can run it
by cron or whatever.
The equivalent in
this is my code:
class MySchema(MappingSchema):
name = SchemaNode(String(),
description = 'LONG_DESC')
title = SchemaNode(String(),
widget =
widget.TextInputWidget(size=40,css_class='vvb'),
validator = Length(max=20),
Hi all,
I've got a strange problem. I'm on windows, running the latest
version of Apache, Pylons and NLTK (natural language toolkit). You
can install NLTK here: http://www.nltk.org/download
I've used NLTK in many python projects with no problems, however today
for the first time I attempted
Hi,
I guess that this thread already contain a reply:
http://groups.google.com/group/pylons-discuss/browse_thread/thread/fb1f4c49cf34eee2?hl=en#
But I'm agree that this point should be added in the pyramid
documentation with a recommended way to do that. It's a common need
--
Gael
On Tue, Jun
I just started to use deform and colander for form handling in
Pyramid. Deform defines out of box form fields generation. But the
problem is I have my own style of forms which is quite complicated?
What is best solution to create custom widgets/schemas to do this? Is
there a general way to create
Have a look here:
http://docs.pylonsproject.org/projects/deform/dev/widget.html#writing-your-own-widget
Explains it all, really.
Keesjan
-Oorspronkelijk bericht-
From: wbwylbt
Sent: Wednesday, June 08, 2011 1:50 PM
To: pylons-discuss
Subject: how to create custom widgets/schemas ?
I
Hi
How could i add some global attribute to my pyramid application to use
them cross-application or cross-request?
thanks.
--
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To
On Wed, Jun 8, 2011 at 7:11 AM, mehdi0016 mese1...@gmail.com wrote:
Hi
How could i add some global attribute to my pyramid application to use
them cross-application or cross-request?
thanks.
For cross-request variables, put them in the 'settings' dict,
available as 'settings' in main() and as
On Wed, Jun 8, 2011 at 11:50 AM, Mike Orr sluggos...@gmail.com wrote:
On Wed, Jun 8, 2011 at 7:11 AM, mehdi0016 mese1...@gmail.com wrote:
Hi
How could i add some global attribute to my pyramid application to use
them cross-application or cross-request?
thanks.
For cross-request
On Tue, Jun 7, 2011 at 3:39 PM, Mengu whalb...@gmail.com wrote:
hi Iain,
first of all i would like to congratulate you for all your effort and
decision on open sourcing your product. from what you've said, i
understand that you guys came up with a very valuable product and in
my opinion
10 matches
Mail list logo