sqlalchemy core is a better option than going straight to the driver imo.
And you can call postgresql functions from the session, however if you are
using pyramid transaction and zope.sqlalchemy you will want to get in the
habit of marking the transactions as changes were made for the functions
at you're looking for.
>
> IIRC the button is also just an ordinary field of the form, which can be
> rendered the same way.
>
>
> HTH,
> Andreas
>
> On 17 Jul 2018, at 13:17, Tom Andrews wrote:
>
> > I'm trying to construct a treeview-like structure with ch
> http://deformdemo.repoze.org/checkboxchoice/
>
> The templates for such widgets use Chameleon for templating.
> I'm not fluent in Chameleon, so hopefully someone else can fill
> in the blanks.
>
> --steve
>
>
> On 7/17/18 at 4:17 AM, schrot...@web.de (Tom Andrews)
Hello,
I'm trying to construct a treeview-like structure with checkbox widgets
from deform and have all of the checkboxes as part of one form. If I just
render the form normally and pass the generated html to my template, I'll
obviosuly not get the structure I want.
So far I've tried to pass
I can literally +1 *all* of the previous replies.
Sent from a phone, please excuse the brevity.
> On 24 Nov 2016, at 15:08, John Anderson wrote:
>
> For the last 2 years every project I've worked on has been Python3 only. At
> SurveyMonkey we had ~60 different services and
Thank you both for the information!
It sounds like there isn't any significant downside the increasing the
number of waitress threads beyond the number of available CPU cores if we
expect them to be I/O bound rather than CPU bound. Is that true?
I will investigate our nginx configuration;
n references greatly
appreciated!
Thanks,
Tom
[1] http://docs.pylonsproject.org/projects/waitress/en/latest/design.html
[2] https://groups.google.com/d/topic/pylons-discuss/cC5Thn4fvyE/discussion
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss&qu
> On 14 Dec 2015, at 04:40, kk wrote:
>
> Hello all,
> I am going to use Postgresql in my Pyramid REST ap[app.
> I wish to know what is the most ideal way of securing my database?
there is nothing pyramid specific in securing your database connection.
> What I wish to know
consider using a
JWT plus custom AuthenticationPolicy approach again in the future.
hope that helps,
tom
On 16 Jul 2015, at 21:34, Iain Duncan iainduncanli...@gmail.com wrote:
Hi folks, just getting back into Pyramid and Python after a long absence of
being an Angular dev. I'm going
FTR same here. although for a next project i will give wichert’s toolkit a
spin. it looks cleaner and with less moving parts. cornice sometimes seems to
get a bit in the way. but otherwise we’re happy with it, too.
hth,
tom
On 14 Jun 2015, at 20:50, Vincent Catalano vinc
i heartily second that suggestion. click is a joy to work with!
On 01 Jun 2015, at 14:00, Oliver dief...@gmail.com wrote:
If you want a really easy framework for managing script options and so on, I
recommend http://click.pocoo.org
On 01.06.2015 12:08, Chris Withers wrote:
On 01/06/2015
,
tom
On 29 May 2015, at 16:47, Brian Looker look...@uwosh.edu
mailto:look...@uwosh.edu wrote:
I've encountered a NoSectionError while trying to test my Pyramid project,
and I haven't been able to figure out why. I have successfully used
ConfigParser with the interpreter to read my .ini file
FWIW we've been using 'regular' cookies with content encrypted by
http://pythonhosted.org/itsdangerous/ for many projects now. Works like a
charm.
Sent from a phone, please excuse the brevity.
On 16.05.2015, at 01:58, Jonathan Vanasco jonat...@findmeon.com wrote:
Sorry a bit confused
Great explanation! We should include it on the site...
Sent from a phone, please excuse the brevity.
On 10.05.2015, at 02:45, Tres Seaver tsea...@palladion.com wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 05/09/2015 08:02 PM, Mike Orr wrote:
I don't know what by artisans is
have you looked into pytest’s parametrize feature? sounds like it could apply
to your case…
http://pytest.org/latest/parametrize.html
http://pytest.org/latest/parametrize.html
hth,
tom
On 11 Feb 2015, at 21:12, Robert Daniels robertdaniels2...@gmail.com wrote:
I am testing some code
Fyi I've had good experiences using phantomjs
Sent from a phone, please excuse the brevity.
On 25.01.2015, at 18:17, Wichert Akkerman wich...@wiggy.net wrote:
On 25 Jan 2015, at 14:40, Adam Morris adam.mor...@igbis.edu.my wrote:
Okay, I get that bit now, and coded it up, but when I go
scope to assigning the Verified role, perhaps in a
custom callback.
just a quick thought, hope it helps.
cheers,
tom
On 12 Jan 2015, at 22:33, Theron Luhn the...@luhn.com wrote:
I'm working on authorization+authentication for my webapp. The login has a
remember feature so users don't
Basically there are two popular approaches: either pip + requirements.txt or
buildout + versions.cfg.
Googling those should give you a good starting point :-)
Sent from a phone, please excuse the brevity.
On 05.08.2013, at 16:11, wilk w...@flibuste.net wrote:
Hi,
I'm testing pyramid with
Amen, brother!
Sent from a phone, please excuse the brevity.
On 01.02.2012, at 09:03, Rob Miller r...@kalistra.com wrote:
These are reasonable points to make. But Pyramid is explicitly not trying to
be the same thing that either Django or Rails is trying to be. Those are what
we call
convenient access to a
request.
sorry for rambling, i guess, i'm (ab-)using the list for rubberducking... :)
tom
- C
--
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
,
tom
regards
robert
On Tue, Jan 31, 2012 at 12:30 PM, Tom Lazar t...@pyfidelity.com wrote:
On 31.01.2012, at 05:48, Chris McDonough wrote:
I think it might be significantly better to just create a settings.py
module in your app and put stuff in there instead of in your config file
hm, i
was in poor (or no)
design of what needs to be done where. once i re-arranged the furniture, the
problem went away.
passing the request around seems the right thing™ to do. at least now i know
*why* instead of just blindly cargo-culting :)
cheers,
tom
- C
--
You received
involved, no wsgi app
instantiated!
That object might be an environment in which code executes.
in my case that's an instance of a 'dropbox' class that receives a root path in
its init.
i'm actually rather happy with how it turned out :)
tom
\malthe
--
You received this message
config.make_wsgi_app()
and henceforth wherever i need access to the settings:
from myapp import settings
...
settings['myapp.foo']
is this a bad idea? it seems 'dirty' but it would keep my tests and code
significantly leaner...
any opinions?
cheers,
tom
--
You received this message because you
Ben,
Thank you for your reasoned response. I am fairly new to Pylons, and so was
only aware of the pylons-discuss news group. I'll be looking at the
pylons-devel to see of others have encountered the situation I am having.
--tom
On Tue, Mar 15, 2011 at 1:01 PM, Ben Bangert b...@groovie.org
I am very happy with webfaction for what it's worth.
From My Phone
-Original Message-
From: Eric ericrasmus...@gmail.com
Sender: pylons-discuss@googlegroups.com
Date: Sat, 14 Aug 2010 18:08:22
To: pylons-discusspylons-discuss@googlegroups.com
Reply-To: pylons-discuss@googlegroups.com
python setup.py sdist has given me the most benefit. I think this is ok, unless
you have platform specific c code or something.
Sent from my BlackBerry device from Cincinnati Bell Wireless
-Original Message-
From: gsandorx gsand...@gmail.com
Date: Tue, 10 Nov 2009 07:33:10
To:
Thanks Mike works like a dream.
2009/9/23 Mike Orr sluggos...@gmail.com
On Wed, Sep 23, 2009 at 1:00 PM, Tom B tablackm...@gmail.com wrote:
I need to get at the routing to do some fancy stuff. When I alter the
routing to the following:
map.connect('/services/foo/bar', controller
This is exactly the reason I would use django for my next big project.
Much better openid support, like with django-clickpass. I hear
repoze.what is making progress with .who but I believe the user base
is still pretty small.
Cheers,
Tom Longson (nym)
--
http
I think the relative number of django apps in the wild vs pylons apps
is a good indicator of how easy it is to get something launched. Not
that I don't 3 pylons, but django's developer base speaks for itself.
Either that, or pylons needs a marketing campaign with a pony or
something.
Cheers,
Tom
I know people here won't like me saying this, but I recommend looking
at Django. If you have real heavy lifting on ORM, it's not as good,
but for 98% of the time Django is easier to develop in than Pylons.
Cheers,
Tom Longson (nym)
--
http://tomlongson.com
On Wed
', paster_plugins.txt is created.
Nevertheless, running 'paster shell' gives me the same old message:
Command 'shell' not known (you may need to run setup.py egg_info)
Any help would be really appreciated!
Cheers,
Tom Longson (nym)
--~--~-~--~~~---~--~~
You
This reminds me of http://everything2.com/ (if you haven't been there,
check it out already!)
Good stuff guys!
Cheers,
Tom Longson (nym)
-
Tackle Human Dilemmas.
http://stopthespin.com/
On Thu, Apr 23, 2009 at 7:38 AM, Gustavo Narea m...@gustavonarea.net
,
Tom Longson (nym)
-
Tackle Human Dilemmas.
http://stopthespin.com/
On Wed, Apr 22, 2009 at 7:21 AM, Wichert Akkerman wich...@wiggy.net wrote:
Previously Ross Vandegrift wrote:
On Wed, Apr 22, 2009 at 12:36:09AM -0700, Richard Jones wrote:
Is there a way
Sounds like you want Django or Drupal. Pylons is lightweight, which
means these things are up to you. There's no administrative backend.
Cheers,
Tom Longson (nym)
-
Tackle Human Dilemmas.
http://stopthespin.com/
On Tue, Mar 24, 2009 at 2:43 PM, Kevin Ar18
Check out the ErrorController (controllers/error.py).
Here's more information on error handling in Pylons:
http://wiki.pylonshq.com/display/pylonsdocs/Error+Documents
Cheers,
Tom Longson (nym)
-
Tackle Human Dilemmas.
http://stopthespin.com/
On Mon, Mar 23
On stopthespin.com (my pylons site) we track whoever last logged on.
It's not quite what you're asking for, but a cheap way to get a
similar result.
Cheers,
Tom Longson
http://stopthespin.com/
On Tue, Mar 10, 2009 at 9:54 AM, Jonathan Vanasco jonat...@findmeon.com wrote:
that would be a bit
be a pylons issue at all.
Cheers,
Tom Longson
http://stopthespin.com/
On Tue, Mar 10, 2009 at 6:12 AM, Marc Lagrange marko...@gmail.com wrote:
Hi,
I load my javascripts files via:
script type=text/javascript src=/js/jquery-1.2.6.min.js/script
script type=text/javascript src=/js/jajax.js/script
I think the point of clickpass is to create a system that is easy for anyone
to use, instead of something that just confuses users.
Tom Longson
On Wed, Feb 25, 2009 at 12:22 PM, Dalius Dobravolskas
dalius.dobravols...@gmail.com wrote:
Tom Longson (nym) wrote:
Has anyone had experience
Thundercats for the win, no question.
On Fri, Jan 30, 2009 at 10:01 AM, Jonathan Vanasco jvana...@gmail.com wrote:
If we're going to make ridiculous comparisons, I vote for a thread on
this one.
--~--~-~--~~~---~--~~
You received this message because you
On Fri, Jan 30, 2009 at 11:26 AM, Tycon adie...@gmail.com wrote:
How many request per seconds can the thundercats serve ?
Old thundercats or new thundercats?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
I've been reading the book today and really dig it. I recommend
picking it up and giving it a go.
Tom Longson
http://truefalsemaybe.com/
On Thu, Jan 15, 2009 at 11:19 PM, Mike Orr sluggos...@gmail.com wrote:
On Thu, Jan 15, 2009 at 10:47 PM, Steve smill...@gmail.com wrote:
I have python 2.5
middleware entirely.
I also strongly suggest using Google's AJAX API
http://code.google.com/apis/ajaxlibs/documentation/index.html to serve up
prototype and scriptaculous since it is already on their CDN, and is already
cached by many people's browsers.
Tom Longson (nym)
http://truefalsemaybe.com/
On Mon
Yes Rod, that's my understanding. This comment from a Google employee seems
to support that opinion:
http://code.google.com/p/google-ajax-apis/issues/detail?id=50#c44
They purposely did not include the ext javascript library because of concern
for commercial users.
Tom Longson (nym)
http
I've implemented repoze.who in one app so far. It was a bit difficult
at first, but from my understanding is getting easier. I wrote a very
simple tutorial at
http://truefalsemaybe.com/2008/06/authorization-in-pylons-with-repozewho-part-1-htaccess/
I imagine I will write a followup soon, as I
I've come across an issue involving the use of '+' and '%20' for
representing spaces in a URL.
Many apps treat the plus sign and the %20 code the same, however
pylons does not. Lets say you have a def which takes in one argument,
lets call it 'title', sets it as c.title, and a mako template
() in the second one or adding str() to the
first one did not work.
On Jun 19, 1:28 pm, Tom [EMAIL PROTECTED] wrote:
I've come across an issue involving the use of '+' and '%20' for
representing spaces in a URL.
Many apps treat the plus sign and the %20 code the same, however
pylons does not. Lets say you
47 matches
Mail list logo