visit
> https://groups.google.com/d/msgid/pylons-discuss/ED50998D-5172-4F12-9674-B7E8028D76BE%40gmail.com
> <https://groups.google.com/d/msgid/pylons-discuss/ED50998D-5172-4F12-9674-B7E8028D76BE%40gmail.com?utm_medium=email_source=footer>
> .
>
--
*Matt Feifarek*
(he/him/his)
+1.60
Make your browser more narrow, and the thing jumps up to supa-size.
On Wed, Nov 6, 2013 at 5:41 PM, Michael Merickel mmeri...@gmail.com wrote:
All I see is the normal github sash. Sounds like a browser/your computer
issue.
On Wed, Nov 6, 2013 at 5:38 PM, Mike Orr sluggos...@gmail.com
On Fri, Feb 3, 2012 at 9:53 PM, Chris McDonough chr...@plope.com wrote:
Can you convince your company to donate US $1K to this effort? The
money would be collected by Agendaless and transfered to Graham as soon
as we reached our goal.
I'm an indie, so no, but I can personally pledge $100,
I want to use pyramid's request.route_path() to make links that are
relative... ie, that do not start with /.
My route is declared thus:
config.add_route('render_page', '/{page}.html')
My view:
@view_config(route_name='render_page')
def render_template(request):
page =
On Sat, Aug 13, 2011 at 11:59 AM, kes schue...@gmail.com wrote:
I am looking for a way to call another view callable from one of my
views and have it return a Response object, without the caller needing
to know how it was rendered.
I don't think that it should be anything special; they're
On Thu, Aug 4, 2011 at 12:44 AM, Mike Orr sluggos...@gmail.com wrote:
The transaction should fail when the update query is run, not when it
commits. So you shouldn't set the 'authenticated' flag until the query
finishes without error.
Good advice, but not possible in this case; I'm using
On Thu, Aug 4, 2011 at 12:06 PM, Chris McDonough chr...@plope.com wrote:
I kinda feel like there is still a larger question here, though...
using transaction manager, code that is executed in a view callable
doesn't *really* finish till after the users' function is over... so
there's no
On Thu, Aug 4, 2011 at 1:37 PM, Chris McDonough chr...@plope.com wrote:
when using transactions, how all-in does
one have to go?
I guess in a sense the answer is none and a lot at the same time.
The transaction machinery provides a hook to do something based on the
commit status. If the
On Tue, Aug 2, 2011 at 11:48 PM, Michael Merickel mmeri...@gmail.comwrote:
Ben was investigating the idea of tying pyramid_beaker to a transaction,
but I'm not sure if anything ever came of it. Maybe we should resurrect the
idea.
It seems to make sense.
In fact, an argument could be made
On Wed, Aug 3, 2011 at 1:12 PM, Chris McDonough chr...@plope.com wrote:
In fact, an argument could be made that if a transaction fails, the
entire contents of the view callable should not execute...
We don't know whether the transaction failed until the view callable
is called. The
I am using tm2 in my Pyramid application, and both ZODB and pyramid_mailer
are hooking into that. However, other events related to the request
lifecycle are not aware of transactions and are thusly causing suprising
behavior that might be worth discussion.
For example, I create a new object from
On Mon, Aug 1, 2011 at 11:19 AM, Carlos de la Guardia
carlos.delaguar...@gmail.com wrote:
You can register a callback that is called after the transaction ends,
so that the logging can be done there. See this page, near the end o
That's interesting, but kinda defeats the purpose of logging
I don't know formbuild, but if it's using webhelpers, it appears that
webhelpers might be escaping parts of the tag...
in Mako you pipe it though the ${ foobar | n } filter, but we're not in Mako
land. But it's the same effect, so I hope that this might give you a clue.
On Fri, Jul 29, 2011 at
I'd like to use ZODB Blob support... I found this tutorial for ZEO:
http://docs.pylonsproject.org/projects/pyramid_cookbook/dev/zeo.html
If one did NOT want to use zeo, and therefore not the zeo.conf, how can we
tell Pyramid to use blobs?
Perhaps it's a setting on PersistentApplicationFinder()
On Tue, Jul 12, 2011 at 4:14 PM, Matt Feifarek matt.feifa...@gmail.comwrote:
I'd like to use ZODB Blob support... I found this tutorial for ZEO:
http://docs.pylonsproject.org/projects/pyramid_cookbook/dev/zeo.html
If one did NOT want to use zeo, and therefore not the zeo.conf, how can we
I'm a little fuzzy on FileUploadTempStore: I understand that the example
MemoryTmpStore() is not recommended for production, but it doesn't appear
that it actually does anything interesting, as it's just a tiny bit of
frosting on a dict.
Where does filedata actually go when it's posted? Does some
On Tue, Jul 12, 2011 at 6:57 PM, Chris McDonough chr...@plope.com wrote:
How much money would it take for us to not have a conversation about
deform tempstores? ;-)
$0.00
To be honest, this is a supercomplex feature. I don't think I can
really explain it adequately in narrative, at least
On Mon, Jul 11, 2011 at 3:12 PM, Raoul Snyman raoul.sny...@gmail.comwrote:
I've just spent the better part of the weekend scouring the docs for
some mention or example of how to do auth (both authentication and
authorisation) from the database, and gave up and decided to roll my
own, because
Hi there.
I want to make a tag like this:
form action=go accept-charset=utf-8 class=goform
Of course, accept-charset is an expression in Python, not a valid
identifier. I'm aware that for reserved words, we append an underscore
(class - class_) but is there a proper way to send accept-charset?
On Sun, Jul 3, 2011 at 7:00 PM, Mike Orr sluggos...@gmail.com wrote:
Thatt's the proper way. I suppose we could change it to replace '_' in
the keyword args with '-', if people think it's a generally good idea.
That seems like it might bite you one day in the future. :-)
--
You received
On Thu, Jun 30, 2011 at 11:02 PM, Eric Rasmussen ericrasmus...@gmail.comwrote:
I've been stalling for months on writing a tutorial to demonstrate how you
can structure a UI-rich application with Pyramid, partly because it'd rely
heavily on YUI for the client-side features, and that's not
On Thu, Jun 30, 2011 at 8:53 PM, Chris McDonough chr...@plope.com wrote:
I'd just copy the deformdemo into pyramid_mako and make sure its tests
pass after changing the copy to use Mako. Rinse, lather, repeat forever
as you maintain pyramid_mako.
Roger. Right now I can view all the examples
Hi gang.
I put up a (fork of jayd3e's) repo for deform_mako templates:
https://github.com/mfeif/deform_mako
I converted ALL of the templates, and attempted to stay as true to the
original as possible (not implementing any style/markup changes from the .pt
files).
I'm sure I broke a couple of
On Fri, Jun 24, 2011 at 10:02 PM, Chris McDonough chr...@plope.com wrote:
Not really. As far as I can tell, adding a css_class to the mix only
puts it into the input tag, not any of the containing markup. So,
doing something trivial like putting some text-inputs side-by-side is
not
On Fri, Jun 24, 2011 at 4:35 PM, Chris McDonough chr...@plope.com wrote:
I mean, you sort of already have that capability, or at least it's
possible to add classes to do this.
Not really. As far as I can tell, adding a css_class to the mix only puts it
into the input tag, not any of the
Is there a community project to port the templates in Deform to Mako? If
so, is there a repo anywhere, and maybe I can help?
I'm liking deform mostly, but I know that I will need to customize some of
the layout a bit... and I'm a mako guy. It seems that if you're in for a
penny, you're in for a
Hi. I'm working with deform. I'm resisting the urge to make my own
templates, as my needs are not all that custom; I simply want to do simple
things like having radio choices side-by-side rather than stacked up, or
having some fields on the left column, some in the right. So, I'm looking at
the
I'm interested in making an API for a resource-tree, and in having the URLs
qualified in part by file extension (xxx.json).
The docs mention discriminating based on XHR and mimetype, which I grok, but
it's much easier to debug and view sent data by simply changing the URL.
There is some chatter
Hi there.
I'm a relatively long-time Pylons user, starting to work with Pyramid. I
like what I see, but am suffering a bit on where to find things.
I'm using traversal and a resource tree in my app (zodb template) and am
enjoying this pattern... but I can't seem to find ways to hook onto basic
On Sat, Jun 11, 2011 at 3:36 PM, Danny Navarro j...@dannynavarro.net wrote:
I see Pyramid as just an application (a WSGI app) that just takes
requests and returns responses. The rest of Pyramid functionality is
to configure the application in the way it processes the requests and
returns the
Hello.
Long-time Pylons user here. I'm just starting to learn Pyramid, and was
starting with the wiki tutorial here:
http://docs.pylonsproject.org/projects/pyramid/1.0/tutorials/wiki/index.html
When I get to the step of running the app for the first time:
$paster serve development.ini --reload
Linode is absolutely great. Good deal, too.
Their naked installs take some config to get up to speed, at least they did.
Some of the new deploy-script stuff (like Silver Lining type things) might
help you automate that process, or even making your own .deb that is empty
but requires all the stuff
Thanks; sorry if it was an obtuse question.
On Fri, Mar 25, 2011 at 1:21 PM, Chris McDonough chr...@plope.com wrote:
Yes... there's only one set of docs and this is a printed edition of
the Pyramid documentation...
--
You received this message because you are subscribed to the Google
On Sat, Mar 5, 2011 at 12:03 PM, Chris McDonough chr...@plope.com wrote:
FYI, a printed edition of the Pyramid documentation (The Pyramid Web
Application Development Framework) will be available at the PyCon
bookseller during the conference. The book covers Pyramid 1.0.
Is this the same
Nope, it's all hacks. It can be done, but it requires some monkeying.
GAE does WSGI, but not Paste, an that's the tricky bit.
On Wed, Jun 16, 2010 at 1:39 AM, marc marcroy.ol...@gmail.com wrote:
I might be missing something(or maybe just being a newbie). But is the
only way to get pylons to
This firefox plug-in is nice for this sort of debugging:
https://addons.mozilla.org/en-US/firefox/addon/2691/
https://addons.mozilla.org/en-US/firefox/addon/2691/
--
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send
On Tue, May 18, 2010 at 12:23 PM, Melih Onvural melih.onvu...@gmail.comwrote:
However, it looks as if I do:
def __after__(self):
return render(/api/apiresponse.xml)
It isn't actually pushing it back as the response to the call. Is this
possible with Pylons?
I think Pylons expects
On Mon, May 17, 2010 at 11:10 AM, gazza burslem2...@yahoo.com wrote:
[${h_link_to('review
order',h.url_for(controller='client',action='clientorderlist',id=c.id))}]
Can't you just to the following?
${h_link_to('review order', 'span%s/span' %
On Sat, Apr 24, 2010 at 3:21 PM, JohnWShipman j...@nmt.edu wrote:
Should I stay with 2.8.0r4? Can anyone tell me why this package is
deprecated, or suggest a suitable alternative that has the features of
YUI's CSS Reset stylesheet and a grid layout?
First, notice that Reset (and Fonts) has
On Mon, Apr 26, 2010 at 1:29 PM, Jens Hoffrichter
jens.hoffrich...@gmail.com wrote:
We have worked now for a couple of projects with Blueprint,
http://www.blueprintcss.org/ - I can really recommend that, it makes
I really like the ideas of Blueprint and also the 960 one mentioned earlier.
On Sat, Apr 10, 2010 at 9:12 AM, Marius Gedminas mar...@gedmin.as wrote:
Maybe I'm tilting at windmills here and should just 'go with the
flow' - however I'd be interested in hearing feedback from others on
this. Are there any specific features of Pylons that improve over this
default
On Tue, Apr 6, 2010 at 6:45 PM, gazza burslem2...@yahoo.com wrote:
I was told to use mod evasive with apache? I dont have any firewall
I'm running on a VPS on
linux with a pylons web server.
If indeed it is small numbers of IPs, don't forget about tcpwrappers
(hosts.allow and hosts.deny);
On Mon, Apr 5, 2010 at 10:34 AM, Mike Orr sluggos...@gmail.com wrote:
Philosophically, the model shouldn't have any structural (WSGI- or
HTTP-specific) or UI (HTML-specific) code in it. The input values
are coming from POST parameters, which the model shouldn't know about.
The model
On Mon, Mar 8, 2010 at 3:53 PM, joesgroups joes.mailing.li...@gmail.comwrote:
This seems like a pretty heinous error, is there really no feedback on
it? Is there any additional information I could supply?
Again this problem doesn't occur with wget, but occurs with most
browsers.
To test
On Sat, Mar 6, 2010 at 8:03 AM, joesgroups joes.mailing.li...@gmail.comwrote:
return http://www.google.com/search?test;
The result is that in firefox or safari the browser shows,
http://m.google.com/se
This may be a typo, but you see that those are not just one truncated to the
other,
On Tue, Feb 23, 2010 at 4:08 PM, gazza burslem2...@yahoo.com wrote:
I think I've opted to store on disc. I guess there are two camps
regarding this.
If you're worried about filename integrity (including full path) you can
hash the files and store the fingerprints. I've done that before; works
On Wed, Feb 17, 2010 at 5:20 PM, Mike Orr sluggos...@gmail.com wrote:
I've written up a semi-radical proposal to replace Pylons' WSGI stack
with a WebOb-based stack, so this will also be among the discussions.
With the impasse on getting WSGI to Python 3, some of us are impatient
to just go
I haven't used it with Pylons (yet) but Wing does have that nifty remote
debugging feature. Have you tried that?
On Tue, Feb 16, 2010 at 8:46 AM, Jamie jjbe...@gmail.com wrote:
Thanks, but unfortunately automatic reloading doesn't normally work
correctly from within the IDEs I've tested:
On Wed, Jan 6, 2010 at 12:13 AM, Mike Orr sluggos...@gmail.com wrote:
That's what I hate about Paste and entry points and pkg_resources.
+ 1Jillion.
Thanks for your suggestions. I tried all of those things; I even removed the
version numbers in my app (from Pylons=0.9.7 to just Pylons) but
On Mon, Jan 4, 2010 at 11:57 AM, James Gardner ja...@pythonweb.org wrote:
One tip though, I now believe using exceptions to trigger the 401 and
403 responses and then intercepting them in WSGI middleware is not a
good design pattern. New code I'm working on generates a normal
response in the
I upgraded a working Pylons 0.9.7 app to the new semantics from Pylons 1.0
(via pip install pylons==dev).
When I try to run the appserver, I get a traceback:
$ paster serve --reload localpylons.ini
Traceback (most recent call last):
File /home/work/Mayhem/web/pylonsve/bin/paster, line 9, in
On Tue, Jan 5, 2010 at 11:13 PM, Matt Feifarek matt.feifa...@gmail.comwrote:
I upgraded a working Pylons 0.9.7 app to the new semantics from Pylons 1.0
(via pip install pylons==dev).
When I try to run the appserver, I get a traceback:
Here's an easily reproducible case:
*w...@dude
On Sun, Dec 27, 2009 at 5:32 PM, Ben Bangert b...@groovie.org wrote:
The interactive traceback can't work as there's no guarantee the same
machine will handle the same request, nor will GAE retain the process
between requests with any certainty.
Sure, but I'm talking about running on the SDK
Has anyone tried the new release of the GAE SDK?
I am basically following Jason's work here:
http://countergram.com/articles/pylons-google-app-engine/
And I can get Pylons to run, but the interactive traceback doesn't work.
First, it seems that one has to change the StatusCodeRedirect() line in
On Fri, Dec 18, 2009 at 7:41 PM, Mike Orr sluggos...@gmail.com wrote:
There aren't any significant new features in tip from an application
perspective, so there's little reason to use it now unless you want to
Thanks for the clear, useful answer.
--
You received this message because you are
First: I SINCERELY hope that I do not start a round of whining, because I am
definitely NOT whining. I am grateful for Pylons and for the support of my
betters in this list. I would ask that any responders to my message NOT use
this as a jumping-off point for whining or bullying, because it is
On Mon, Nov 9, 2009 at 4:47 PM, gazza burslem2...@yahoo.com wrote:
from the c.chosenList:
say the list is2,4
INPUT TYPE=hidden NAME=listitems VALUE=${c.chosenList} /
Within testController:
def test(self,id):
locallist = request.params.get(listitems)
for index,item in
On Thu, Nov 5, 2009 at 5:39 PM, Mike Orr sluggos...@gmail.com wrote:
I've implemented the feeds at http://incidentnews.gov/ , in both RSS
and Atom. If somebody could check the HTML and feed XML for errors,
I'd be grateful. There are permanent links in the page footer,
temporary links in
On Mon, Nov 2, 2009 at 9:14 AM, Tim Bock jtb...@daylight.com wrote:
I did note Matt's suggestion of the META tag in an earlier email,
but a
quick google search didn't yield anything that I was able to connect
with downloading. But as you've indicated that this is a common
If you
On Sun, Nov 1, 2009 at 11:06 AM, Matt Feifarek matt.feifa...@gmail.comwrote:
On Thu, Oct 29, 2009 at 3:19 PM, reco r...@nex9.com wrote:
just tried the wiki page
i got the following probs:
File lib/setuptools-0.6c11-py2.5.egg/pkg_resources.py, line 24, in
module
from os import utime
On Thu, Oct 29, 2009 at 3:19 PM, reco r...@nex9.com wrote:
just tried the wiki page
i got the following probs:
File lib/setuptools-0.6c11-py2.5.egg/pkg_resources.py, line 24, in
module
from os import utime, rename, unlink, mkdir
ImportError: cannot import name mkdir
INFO
On Fri, Oct 30, 2009 at 1:06 PM, Mike Orr sluggos...@gmail.com wrote:
Somehow this issue doesn't come up on other sites. I'm not sure if
you have unusual requirements or you're not considering all the UI
possibilities. Maybe it's because when people download something,
daysyn, don't forget
On Sun, Nov 1, 2009 at 1:03 PM, Mike Orr sluggos...@gmail.com wrote:
Will that work with downloads? What if the download isn't finished by
the refresh timeout?
Interesting question. I don't know.
Though, people like Sourceforge have been doing this for years. Maybe once
the download
On Thu, Oct 29, 2009 at 3:12 PM, Mike Orr sluggos...@gmail.com wrote:
I would like to be able to redirect the user to another page after
the download has been initiated, or at least put up a yay, it's
finished page, but that doesn't appear to be possible. So I was
What about turning
On Sat, Oct 24, 2009 at 7:58 PM, Jason S. jas...@tuffmail.com wrote:
This is a major rework of my GAE/Pylons article, which requires fewer
steps now. There's no Paste patch, and it still uses a regular INI
Better and better.
The more I think about it, the more I would *prefer* to run in the
On Wed, Oct 28, 2009 at 3:46 PM, Mike Orr sluggos...@gmail.com wrote:
You can also disable other middlewares you're not using in
middleware.py, such as sessions.
Sessions are stored in datastore by buffet, right? Wouldn't one want to keep
sessions?
(I suppose it depends on the app, but most
On Wed, Oct 28, 2009 at 4:44 PM, Mike Orr sluggos...@gmail.com wrote:
Not Buffet. render_mako doesn't use Buffet. The older
pylons.templating.render used Buffet. But Mako was designed to
separate template lookup from rendering, so that you can drop in an
alternate TemplateLookup class for
On Fri, Oct 23, 2009 at 2:48 PM, d2ncal d2n...@gmail.com wrote:
However, to get the above working, I will have to change the
declaration of view() action in profile controller to accept username
as an argument. It already check for username in 'GET'. I want to keep
the old method working along
I would love a little feedback on this... Bump ;-)
On Fri, Oct 16, 2009 at 8:42 PM, Matt Feifarek matt.feifa...@gmail.comwrote:
http://wiki.pylonshq.com/display/pylonscookbook/Pylons+Running+on+Google+AppEngine
This how-to tries to get Pylons running on GAE with as little customization
On Wed, Oct 21, 2009 at 12:24 PM, Ben Bangert b...@groovie.org wrote:
But the sad thing is that its definitely not unusual, nor limited to
Pylons.
Very good to know; may save some of us some wild goose chasing.
--~--~-~--~~~---~--~~
You received this message
On Fri, Oct 16, 2009 at 1:04 PM, Ian Bicking i...@colorstudy.com wrote:
I remember at some point having a problem with pip installing the
Paste packages, and paste/__init__.py was missing. I think I was
working on an actual app so I punted and created the file manually,
and didn't try to
On Thu, Oct 15, 2009 at 12:10 AM, Ian Bicking i...@colorstudy.com wrote:
I personally got too annoyed with testing and general interactivity
(there's a nose extension though, which I cribbed from -- but I never
actually got it to work myself).
This process has been EXTREMELY annoying. I've
On Thu, Oct 15, 2009 at 12:41 PM, Jason S. jas...@tuffmail.com wrote:
I still don't get setuptools. I don't understand namespace packages, or
rather their deployment. I don't get why I can't move (for example)
paste,
and the Paste* items to another directory that is ON sys.path and have it
On Wed, Oct 14, 2009 at 8:57 AM, reco r...@nex9.com wrote:
I am experimenting with pylons on GAE 1.2.5 following this
documentation:
http://wiki.pylonshq.com/pages/viewpage.action?pageId=17465426
I wrote that; I also wouldn't follow it at this point ;-)
Sorry; it DOES work, but another
On Thu, Oct 15, 2009 at 2:21 PM, Mike Orr sluggos...@gmail.com wrote:
On Thu, Oct 15, 2009 at 9:59 AM, Matt Feifarek matt.feifa...@gmail.com
wrote:
This process has been EXTREMELY annoying. I've spent many hours trying to
get things to work that I should have been spending working on my
Very nice.
This seems much better than my own recent work... I think it's a mistake to
start with appengine-homedir... better to just start from stock Pylons and
hack it till it works on GAE. That's been my discovery over the last few
days, but I haven't patched my Pylons Wiki article yet.
I'll
On Sun, Oct 11, 2009 at 4:03 PM, Ian Bicking i...@colorstudy.com wrote:
Testing should work fine -- the key is if you use appengine-homedir,
it'll setup your data store in sitecustomize.py (automatically on
Python startup), then you get your application instance by calling
make_app directly.
This sound really promising.
On Sat, Oct 10, 2009 at 9:15 PM, Jason S. jas...@tuffmail.com wrote:
I just got a hello-world Pylons app running on GAE without using the
appengine-monkey/homedir scripts and using the stock paster template
(and an INI file). I'm not sure if I'm going to use GAE
I've been working on getting Pylons running on GAE and documenting my
discoveries.
(see thread here:
http://groups.google.com/group/pylons-discuss/browse_thread/thread/fa7d8defef1babfa/a16416074cca2660?lnk=raot#
)
I seem to have stumped myself as far as running tests with WebTest et al.
Since
Thanks for the answers and clarifications... more below.
On Thu, Oct 8, 2009 at 3:03 AM, Mike Orr sluggos...@gmail.com wrote:
Feel free to link to it on the other page, or to paste the whole thing into
that page.
Will-do. And I'll fix the error you pointed out, change the thanks
On Thu, Oct 8, 2009 at 3:35 AM, Mike Orr sluggos...@gmail.com wrote:
An egg is a Python package accompanied by its metadata. An egg can
contain more than one package, but always one metadata. There are two
file formats for eggs:
...
Thanks for all of that. It helps. A lot. I'll look at
On Thu, Oct 8, 2009 at 3:29 PM, Mike Orr sluggos...@gmail.com wrote:
This leads to two questions:
1. Can we simply delete that stuff ? It would make it harder to manage
the
app going forward.
Can we delete what?
Sorry; I edited out the part that would have made that more clear. What I
On Thu, Oct 8, 2009 at 3:29 PM, Mike Orr sluggos...@gmail.com wrote:
On Thu, Oct 8, 2009 at 11:32 AM, Matt Feifarek matt.feifa...@gmail.com
wrote:
I'm not sure I'm up to that task (I use Pylons a lot, but kindof
tune-out
the parts about PasteDeply/Script, SetupTools, etc.
Even if you
On Wed, Oct 7, 2009 at 1:27 AM, Mike Orr sluggos...@gmail.com wrote:
None has been mentioned on the list. The thread you found is the
latest. If you have time to figure out the easiest install procedure
for Pylons on App Engine and to update the howto, it would be a
contribution to Pylons.
On Wed, Oct 7, 2009 at 1:27 AM, Mike Orr sluggos...@gmail.com wrote:
None has been mentioned on the list. The thread you found is the
latest. If you have time to figure out the easiest install procedure
for Pylons on App Engine and to update the howto, it would be a
contribution to Pylons.
On Fri, Oct 2, 2009 at 11:32 AM, Marcus Cavanaugh marcuscavana...@gmail.com
wrote:
I've switched to using django.forms with Pylons, and I really like the
change so far. I've posted a writeup, and a drop-in module, on using
django.forms with Pylons here:
This looks great, Marcus.
Every now
On Wed, Jun 24, 2009 at 11:08 AM, afrotypa ovuaia...@gmail.com wrote:
@restrict('POST')
@validate(schema=TestSchema(), form='edit', post_only=False,
on_get=True)
def save(self, id=None):
I'm not following your full question, but right-off, I see a contradiction
up there:
If you restrict
Hi Gang(s).
Will there be any sprint(s) for pylons and pylons-related projects (routes,
webhelpers, paste) at PyCon next month?
The PyCon website doesn't seem to think so, but it doesn't seem to know
much, so I thought I'd ask.
Thanks.
--~--~-~--~~~---~--~~
You
On Tue, Feb 17, 2009 at 6:28 PM, Mike Orr sluggos...@gmail.com wrote:
Will there be any sprint(s) for pylons and pylons-related projects
(routes,
webhelpers, paste) at PyCon next month?
Yes, but what exactly we'll be working on has not been decided.
Cool!
I plan to attend PyCon, and
On Mon, Jun 9, 2008 at 3:18 PM, Jonathan Vanasco jonat...@findmeon.comwrote:
I'm new to ubuntu, and their syntax for scripts seems to differ from
all the examples i've seen floating in the pylons community ( ie. lots
of errors )
One thing that might help, is that by default, Ubuntu isn't
On Wed, Feb 4, 2009 at 3:10 PM, Mike Orr sluggos...@gmail.com wrote:
You don't know when the user closes the browser. In fact, you don't
know anything after the user's last request, whether you will hear
from them again or not.
Right, but I've always wanted this... although it is stateless,
Hi Ben (and Pylons list).
I've been thinking of buying The Definitive Guide to Pylons from Apress,
but am realizing that I'd rather read it on-screen (syntax-highlighting,
search, cut-n-paste, etc.) BUT, I know that writing books is one of the ways
that contributors to Free Software can make a
No, I did not.
But anyway, PDF sucks (no color-coding, no download links, hard to read
compared to a browser, etc.) I'm hoping for http://pylonsbook.com/
But if Ben's preference is that we should buy the PDF, I might just do that.
I'd just rather a more direct approach.
But thanks for the tip.
On Tue, Jan 20, 2009 at 2:14 PM, Wyatt Baldwin
wyatt.lee.bald...@gmail.comwrote:
I haven't seen the PDF, but there's no reason it couldn't have syntax
highlighting or download links is there? Does anyone know if it does?
The sample-chapter PDF that they have has no code examples, but there's
On Wed, Dec 17, 2008 at 6:19 PM, Ben Bangert b...@groovie.org wrote:
I've updated the front page in the codebase which will soon be up at
http://beta.pylonshq.com/, to properly reflect what's in Pylons 0.9.7.
Should be deployed there shortly. I'm also getting most of the links fixed
up so
On Fri, Oct 17, 2008 at 5:12 AM, Toby Catlin [EMAIL PROTECTED] wrote:
I am sure this has been done before but i am having trouble finding any
references to existing code. As i don't want to reinvent the wheel i was
hoping someone could point me to the right place.
I have been building a
I'd like to stick some code somewhere where it will be run right before a
graceful shutdown.
I realize that this isn't very reliable, as things can crash, but it's for a
kind-of hack anyway.
I also realize that WSGI isn't really built this way; pylons doesn't assume
that it's running as a
On Thu, Sep 4, 2008 at 7:36 PM, Ben Bangert [EMAIL PROTECTED] wrote:
Setting a specific expiretime should do it, unfortunately this value needs
to be a timedelta or datetime value, so in your projects lib/environment.py,
after the config.init function was called, add:
from datetime import
On Tue, Sep 9, 2008 at 11:27 AM, Matt Feifarek [EMAIL PROTECTED]wrote:
from datetime import timedelta
config['beaker.session.cookie_expires'] = timedelta(minutes=20)
And that should do the trick.
I tried this, but it basically invalidates all session activity.
I tried it again on another
I'm having trouble getting sessions to persist across a server up/down.
Even when I use:
beaker.session.type = file
The session data itself (verified by the pickle files on the disk in
%(here)s/data) is there past the paster restart, but it gets disconnected
from the session itself (the user,
1 - 100 of 135 matches
Mail list logo