+1 to Mike's 6/21 post. I really couldn't say any of that better; 90% of
it is things that have occurred to me in my own work; I can't really think
of anything to add to the discussion. I'm not sure there's any great and
terrible need to change anything, but it would be very good to keep the
Seems unnecessarily scary to newcomers to mention compiling your own
Python early in the docs, even if we know it's no big deal.
Particularly when the main concern at hand (that many people's system
instance of python tends to be a poor choice for their Pyramid
development) is easily and almost tri
FYI, On IRC there are distinct channels #pylons and #pyramid, though
their content often overlaps.
But overall, the organization is the Pylons Project, it still hosts
the (no longer in active development, but still with plenty of users)
Pylons framework, and its current main offering is the Pyrami
Try having Firebug or Chromebug open and on its Net tab when you do
this. It should see the request from the AJAX post button, and I
think it will probably show you that your view tries to redirect, but
in the context of an AJAX request, the page you redirect to becomes
the response body of the AJ
Here's where you can find the docs in PDF or e-pub format for printing
or e-reading. Or a zipped HTML too.
http://readthedocs.org/projects/pylons/downloads/
On Apr 22, 8:17 pm, Israel Barba wrote:
> Hello everybody
>
> Do you know if there are any book about pyramid? I dont want the
> tutor
+1 here, even from myself who had some legacy Pylons apps lying
around.
On Jan 27, 6:50 pm, Jemes Hsu wrote:
> Pyramid is carrying a lot of old baggage. Reading about Pyramid, you are
> reading the history about repoze, ZOPE and Pylons and about Pylons
> projects. One needs to understand Pylons w
Any reason why just passing **kwargs through wouldn't fit the need?
That's exactly what I did in my own home-cooked helpers.
On Jul 19, 7:34 pm, Mike Orr wrote:
> On Tue, Jul 19, 2011 at 3:20 PM, Ross Vandegrift wrote:
> > Hi all,
>
> > Any reason why select() doesn't support taking disabled as
Really happy about the convenience of the http_cache view
configuration parameter. Thanks a bunch for all the hard work.
E
On Jul 9, 10:16 pm, Chris McDonough wrote:
> Pyramid 1.1b1 has been released.
>
> Here are the changes:
>
> Features
>
>
> - It is now possible to invoke ``paster
Yeah, seems like that type of auto-replacement doesn't usually turn
out to be the best way forward.
I'm not using webhelpers, though, so I guess that's only a -0.02 from
me on that.
On Jul 3, 5:20 pm, Matt Feifarek wrote:
> On Sun, Jul 3, 2011 at 7:00 PM, Mike Orr wrote:
> > Thatt's the proper w
I noticed when the pylons-discuss is referred to by Google Groups, for
example when it comes up in a sidebar as a suggestion under "other
groups you might like to read based on what you're subscribed to", we
still have this as the description attached to the group name:
"Pylons is a Python Web Fra
Consider using sqlahelper for this. It was made for exactly this
purpose. You import it to both model.__init__.py and
project.__init__.py. It can keep track of your base, engine, and
session.
https://bitbucket.org/sluggo/sqlahelper/overview
In case you are also using Mako for templating and UR
+1 for humor on "hardcore forking action".
On Jun 23, 8:05 am, Joe Dallago wrote:
> P.S. e-mail me some github usernames, and I can give you guys
> permission to push to the fork.
>
>
>
>
>
>
>
> On Thu, Jun 23, 2011 at 9:16 AM, Joe Dallago wrote:
> > I would like to help with this, if you gu
I definitely agree that strict_undefined should be encouraged, and I
have been refactoring to achieve that in my own stuff. My emphasis
was just on avoiding a 'gotcha' for some.
On Jun 12, 12:43 pm, Mike Orr wrote:
> On Sun, Jun 12, 2011 at 8:08 AM, Eric Ongerth wrote:
>
@Sluggo et al.:
Hi Mike,
It's my own responsibility for not noticing the difference in
settings, but I stumbled around for a while last night trying to
figure out why I was getting NameErrors in templates that used to have
none. I should have immediately thought of the config setting
"mako.strict
this would be very slow with all of Pyramid's
> dependencies to install. I use a pip "download-cache" to mitigate
> this, but it still checks the latest versions on PyPI.)
>
>
>
> On Sat, Mar 19, 2011 at 7:22 PM, Mike Orr wrote:
> > I was going to write an
Mike, thanks for all your hard work on this!
I've been using pyramid_sqla for about a month with good results. I
suppose I should move over to Akhet; can you briefly summarize what
would change? From reading the docs it doesn't look like much, except
that SQLA was spun off, but I'd like to be su
Interesting, the system seems to have lost my reply sent yesterday.
Did I 'reply to author' by mistake?
I wanted to signal great interest in this topic, and potentially some
willingness to participate and help out. However, I am currently (and
probably for the next year, roughly) deeply engaged i
Brian, I'm very interested in this and might be able to help out in a
year or two. But to be clear about the stage I'm at currently, I'm
involved in a project that is more of a special case and is pursuing
its own restricted semantic toolkit built on a sqlalchemy setup that
is in some case triple-
On Feb 14, 6:02 pm, Jonathan Vanasco wrote:
> 3. i haven't figured out yet if its possible to handle multiple db
> connections in pyramid. in pylons i have "sqlalchemy.write.url" and
> "sqlalchemy.read.url" and handle multiple databases due to master/
> slave clustering. in order to get widespr
It has been discussed on Freenode IRC channel when some of the devs
were around, but I don't know what is being done or planned about it.
On Feb 13, 2:31 pm, Guillermo Cruz wrote:
> Hi guys,
>
> Has anyone noticed that the wiki pages at pylonshq.com do not work,
> is it just me or am I missing
I searched for discussions relating webob to python 3, and this came
up:
http://groups.google.com/group/paste-users/browse_thread/thread/95320c9aaa571b79
That's two years out of date, so hopefully it's not all there is about
this. Just what came up prominently on a quick peek. The digest of
it
Check the mako docs here:
http://www.makotemplates.org/docs/filtering.html#filtering_expression_turning
... and also the full "filtering" section above that subsection.
On Nov 11, 12:01 am, cropr wrote:
> I am trying to dynamically modify javascript files using
> mako_templates.
> Because the
Jeff,
Pyramid allows you to "mount" an existing Pylons app and serve it
right through without modification. Having done so, you are then free
to convert the app page by page, or handler by handler or however you
wish to proceed ... or leave it unchanged.
Eric
On Nov 6, 10:46 am, Jeff Tchang w
Ev,
Surely you read enough of the docs to see that all declarative
configuration in Pyramid is optional? The option to configure
everything nearly the same as Pylons currently does it is right there
and it is given equal treatment.
Why do you describe the current plans as "killing Pylons" when P
I'm glad to see (vis a vis this discussion thread) that the elephant
in the room now has a bright light shining on it.
As soon as I caught wind of repoze.bfg and now pyramid, I put a couple
of hours into reading through the docs. To me it was apparent even at
first look that the new ontology is m
On Oct 6, 10:57 am, Matt H wrote:
> One thing: Why was c only being assigned once in my original code?
Marius answered that when he wrote:
> You're doing this assignment once, when wrapping the function (i.e. at module
> import time). You need to do this for every request, i.e. when f gets
>
But Vegita, what does the scanner say about Pylons' power level?
Over NINE THOUSAND? But that's impossible!
On Jan 30, 1:37 pm, Tycon wrote:
> Cool cast ! Looks like Wolverine left the X-Men to join the
> ThunderCats ?
>
> On Jan 30, 11:37 am, Walter Cruz wrote:
>
> > Pylons don't have a c
ion to point to your virtualenv folder
instead. Then run the installer. Then, of course, change the
registry back.
Anyway... just sayin'.
On Dec 6, 7:08 pm, Eric Ongerth <[EMAIL PROTECTED]> wrote:
> I know there are still a number of Pylonistas out there in Windows
> land
I know there are still a number of Pylonistas out there in Windows
land who are stuck with a Python 2.5 installation because of the
current problem with simplejson. Here is a workaround that ended up
succeeding, without recourse to old versions or really anything too
suboptimal (except it forfeit
I have heard that the more you try to make Javascript behave like
Python, the more you end up hating Javascript -- but that says nothing
about Javascript itself. Javascript is really a different language,
with different strengths. Perhaps the best plan is to use Javascript
for its strongest poin
Hi Lorenzo,
The following can give you a lot of good ideas about the process even
if you're not using AuthKit.
http://pylonsbook.com/alpha1/authentication_and_authorization
On Nov 23, 4:53 pm, lorenzo <[EMAIL PROTECTED]> wrote:
> Hi all,
> I'm a pylons newbie, and I'm trying to wrestle
pm, Eric Ongerth <[EMAIL PROTECTED]> wrote:
> Neither Pylons nor Paste install correctly at this time on the Win32
> platform using easy_install, whether in a virtualenv or even in a
> system-wide install to a clean system. Just about everything goes
> fine until somewhere in t
Neither Pylons nor Paste install correctly at this time on the Win32
platform using easy_install, whether in a virtualenv or even in a
system-wide install to a clean system. Just about everything goes
fine until somewhere in the installation of Paste, where an error
described only as "None" occur
Yes, as I posted above, I'm now running Pylons cleanly on Python 2.6
with no issues. I just had to avoid the go-pylons script and set up
my own virtualenv using the latest virtualenv 1.3.
On Nov 11, 2:00 pm, Ben Bangert <[EMAIL PROTECTED]> wrote:
> On Nov 11, 2008, at 7:38 AM, Alex Marandon wro
oup/python-virtualenv/browse_thread/thread/ffa736e7a0a9146d
Cheers.
On Nov 9, 4:12 pm, Eric Ongerth <[EMAIL PROTECTED]> wrote:
> Forgive me, I'm running Windows XP at the moment, my Xubuntu-fied
> laptop was recently stolen.
>
> I've cleaned up my windows environmen
Forgive me, I'm running Windows XP at the moment, my Xubuntu-fied
laptop was recently stolen.
I've cleaned up my windows environment, removed Python 2.5 and
everything associated with it, then installed Python 2.6. I then used
ez_setup.py to get setuptools 0.6c9. I downloaded go-pylons.py from
The following location needs to be updated to reflect the
transactional -> autocommit change too:
http://docs.pylonshq.com/models.html#main-model-module
It still quotes/recommends a code example containing
'transactional=true'. And paster gives a deprecation warning for
this; one would hope (mi
Hi James,
Visually: looks great! Good work.
Typos: I saw seven typos, spelling and/or punctuation errors in under
three minutes. Might want to keep the 2nd draft open for more than a
week to allow time to catch more of them.
I will gladly try to review as much as I can and submit some typos
f
On Apr 21, 9:58 am, "Mike Orr" <[EMAIL PROTECTED]> wrote:
> <%include> is mainly useful when the included section
> changes much more frequently than the surrounding template, or if you
> have to dynamically choose which file to include at runtime (if that
> even works in Mako).
See related threa
Accessing the current value of an input field and doing something with
that data is one of the exact things for which Javascript is the
natural tool. You may have a valuable intuition pointing in the
direction of keeping things more high-level / modular / D.R.Y. by
trying to get as much done with
John, thanks for writing and sharing your Zero-to-Sixty. I read the
whole thing, and it makes Authkit look much easier to integrate and
get working than what the rumors seem to indicate I look forward to
reading part 3.
My one suggestion: your blog-format code windows are narrow and they
don't
Wow, that's great. I'm just reaching the stage of adding login/
authorization to my project, and your approach looks just like what I
had in mind, but with all the unknowns filled in. Thanks for sharing.
On Mar 27, 9:42 am, Wolverine <[EMAIL PROTECTED]> wrote:
> Yannick Gingras pisze:> Greetin
Ben,
Is there a minimum experience level?
On Mar 25, 1:52 pm, Ben Bangert <[EMAIL PROTECTED]> wrote:
> I'm looking at times to hold a Pylons Sprint, and thought I'd throw 2
> dates out to see what works best for those interested in attending
> (and to ensure its not conflicting with some other
Here's what I want to be able to do with Routes. I do want to be able
to take advantage of the following cases of minimization, but I want
to be able to explicitly call controller/action/id when the defaults
i've set up are not enough.I'm curious how my scenario compares to
the above discussi
Ok, I'll put this here for anyone else searching for the same
subjects. If anyone feels I could or should have figured this out by
reading the proper documents, I would like to hear that too, with
specifics. Instead I didn't hook up a working version until I dug
through discussions on this group
lement.update() with
> second argument that contains script tag with
> "show_button('extra_data_text', 'text version')" as its text. Most
> likely it is coming from Web server response to Ajax request.
>
> On Feb 26, 2:47 am, Eric Ongerth <[EMAIL PROTECTED]&g
I searched for "show_button" and found no related posts, so here goes.
I frequently get the following error when working with my project,
using Firebug in Firefox:
show_button is not defined prototype.js(line 273)
and the following error content:
show_button is not defined
ly. Is it Firebug's fault that I seem to see the
observation events fired very late sometimes and right away other
times? Again, my processor is doing very little else, and this is all
on localhost.
On Feb 24, 4:04 pm, Eric Ongerth <[EMAIL PROTECTED]> wrote:
> Update. Usually
ct instead of faking it inside of my Windows workstation, and I'm
sure a lot of things will be clearer then.
Eric
On Feb 23, 9:14 am, Eric Ongerth <[EMAIL PROTECTED]> wrote:
> It's not 100% accurate to say I'm running Unix. I'm currently on a
> Windows XP box,
ving this field
is, if the user enters certain values, two more fields need to be
added to the form. If there's that much delay it's definitely not the
smoothness for which I sought Ajax. Should I try changing this one
operation to synchronous?
More thanks.
Eric
On Feb 24, 3:48 pm, Er
Two cases... one works, one does not, and the difference seems to be
that in Case 2 (non-working) the form is displayed in the view only
after the user clicks a button that triggers an
update_element_function to show the form. So there seems to be
something I'm not understanding -- maybe about fi
the IP address you expect it to
> - Hold down shift while you click the refresh button in your browser.
> This should force it to download a new version of the page.
> - Try restarting your browser and connecting again.
>
> If all of this fails, and you can still access the pages, it wo
While learning to use Pylons, on occasion I've noticed that my site in
development still responds to http even after I have pressed Ctrl-C in
the shell window in which I was running paster serve --reload
development.ini.
At first I figured that it was just a result of caching behavior...
although
rs whose search results lead them to read this
thread might be just as early in the process of grasping AJAX as I was
yesterday.
Thanks for the CSS idea too.
On Feb 18, 9:38 am, Cliff Wells <[EMAIL PROTECTED]> wrote:
> On Sun, 2008-02-17 at 13:06 -0800, Eric Ongerth wrote:
> > So,
Sorry, that tag in there was unintended.
--~--~-~--~~~---~--~~
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 unsubscribe from this group, se
This held up my pursuit of AJAX for a few frustrating hours. Nobody's
fault but mine; however, I'm posting about it in case the following
can be useful in anyone else's learning process.
The following may sound like it's written for idiots if you are well
versed in AJAX or at least Javascript.
correctly on the
> server side.
>
> Pylons can't interpret the u'None' value for you because it is
> ambiguous - did the user type in 'None' and submit, or is this 'None'
> the actual python None.
>
> hth,
> Chris
>
> On Feb 14, 3
Newbie here, but getting somewhere. But I just hit this one problem,
the straightening out of which will hopefully also cure me of some
related misconceptions or poor assumptions.
In one of my mako templates, I have something like the following. The
trouble I am having is with passing the value
I've been using msys/mingw32 as a poor-man's-Linux-like shell on my
Windows box, and thus far it's served well enough in my study of
Pylons... except I just found that the command "paster shell" doesn't
work properly in it. Seems to work fine in a Windows XP command
shell, gives access to my mode
59 matches
Mail list logo