this in myghty?
Can you just use a text field, a javascript date widget (e.g., Yahoo's),
and dateutil.parser.parse (from python-dateutil) to parse the field
(which is fairly permissive)? Drop-downs suck anyway.
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org
Ben Bangert wrote:
I think having a clearer definition of when you'd want to configure
WSGI middleware through the config file, vs the middleware.py file
would help the most. Perhaps Ian can chime in, here's my
recommendations:
When to use middleware.py to configure your WSGI stack (all
ToddG wrote:
On a side note, are Paste dev lists where most WSGI discussion goes on?
Or is it sort of a homeless thing, with it [WSGI] being a spec and not
a specific implementation? Just curious how something like this gets
discussed and moves ahead... I guess it depends on the impl one
Hi all. Stephan set up a wsgi.org site. It needs link adding. Please
pile on any links you can think of -- applications, libraries, blog
posts, testimonials, etc.
Original Message
Date: Mon, 29 May 2006 12:35:28 +0200
From: Stephan Diehl [EMAIL PROTECTED]
Hi folks,
I'm
, but makes it available
to be loaded.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email
Jose Galvez wrote:
I've generally used cheetah to generate xslt, and then transformed that
using 4suite into html which ultimatly gets sent to the browser.
Ideally the XSLT should be referenced by URI, and fetched via an
internal request, so it could be static or generated in whatever form is
(easy_install Paste==dev).
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
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
to a location where it can
find the files you want to add.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send
a complex form and
an image upload in that form.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email
to
send it out and it might be buffered.
I don't know if Pylons normally gives access to the writer
start_response returns?
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed
.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
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
don't think the functionality
disappeared -- Python 2.5 seems to actually produce a
Python-2.5.egg-info directory, which is the metadata in question). So,
I don't know the resolution, but this might help point you in the right
direction.
--
Ian Bicking | [EMAIL PROTECTED] | http
,
I've heard of SCGI setups working quite well, and I believe Ian Bicking
uses that setup. I'd be interested in seeing his setup and
configuration. :)
Note that I primarily use the cgi2scgi script included with SCGI. This
way the server acts as a CGI script, but because cgi2scgi is a very
small
build a custom template off of that.
Anyway, those are some of the thoughts so far. I think it's going well,
we'll start doing some more serious things in the next couple days.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
Ben Bangert wrote:
On Sep 19, 2006, at 12:39 PM, Ian Bicking wrote:
One complication was that the default routes were rather sparse, just
:controller/:action/:id. I didn't really want to work with Routes to
begin with -- there's lots of other issues in the beginning, like form
variables
Ben Bangert wrote:
On Sep 20, 2006, at 8:53 AM, Ian Bicking wrote:
The registered threadlocal config, which is what PackageHub uses to
create a connection.
The PackageHub in Pylons has one addition so that it can be used
without the threadlocal needing to be setup. You can directly
Genshi know anything in particular about ElementTree
instances? Especially since ET is in 2.5, I think it would be
reasonable to those instances as a generic representation of markup.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
.
paste.debug.wdg_validate does validation. But it uses an old validator,
that you have to have locally installed. Perhaps doing a remote call to
the W3C validator would be better, though that might get annoyingly slow.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
Sergey Lipnevich wrote:
On 9/25/06, Ian Bicking [EMAIL PROTECTED] wrote:
Incidentally, the webhelpers could also probably be made to return
Element instances with a custom __str__, and so they'd be Kid compatible
as well. Does Genshi know anything in particular about ElementTree
instances
, and the final ValueError should be caught with an error
that explains what configuration value is wrong.
But I don't really know where this should go in Pylons.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
You received
it be to convert this value, config parser, Pylons, or Myghty?
Perhaps Myghty should do it because it's the only component in this
chain that actually knows what type is required.
I think pylons.config.Config.init_app could know about how to do this
conversion, before it gets passed to Myghty.
--
Ian
you!
It should be possible to use paste.proxy to turn a remote application
into a WSGI server, which should do what you want.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed
as root, and setuid early on in the process. I don't
konw if flup reuses worker processes? Maybe that's what you are already
planning to do.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
You received this message because
in PrefixMiddleware, as another kind of fixup
of an incoming proxied request.
It's occurred to me that really proxies could (and should) just retain
the original Host header. But the kind of proxying people do for web
frameworks never does. Why is that?
--
Ian Bicking | [EMAIL PROTECTED] | http
Shannon -jj Behrens wrote:
On 10/9/06, Ben Bangert [EMAIL PROTECTED] wrote:
On Oct 9, 2006, at 9:36 PM, Ian Bicking wrote:
This has come up before. Should url_for have a fully_qualified
keyword
argument to do this?
Yup, it should, its in the Routes trac as a ticket now.
You might also
to hear from
some other users about it. Particular a non-TurboGears user (Pylons
anyone?), because I want to make sure the gettext strategy isn't
TG-specific. So if you've used this branch successfully (TG or not)
please report back.
--
Ian Bicking | [EMAIL PROTECTED] | http
is also hard. Doing
it as a younger programmer will help make you into an older programmer ;)
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons
to form:iferror?).
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
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
simple_data
And configurable like this (assuming you put simple_data in a module
called simpletest.py):
[app:main]
paste.app_factory = simpletest.make_app
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
You received
. I'd put them in a different
location (outside of the application directory structure) and point to
them in the configuration file.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
You received this message because you
-python.py) serves much the
same purpose, but with a slightly different technique.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss
.
2) Modify Cheetah to recognize 'fragment'.
TurboCheetah could use a maintainer. It was initially written as a
proof of concept, I think. Ideally its code could go right in Cheetah,
and it wouldn't have to be a separate package at all (it's not much code
as I remember).
--
Ian Bicking
.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
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
fix without this change, you can use easy_install
Paste==1.0.1.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post
* Really nothing interesting.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
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
:
I had the same problem as Jose. I'm using windows also. I downgraded
to Paste 1.0.1 and it works.
1.0.1 has the security fix, but none of the other changes. It's safe to
use until the Windows issues are fixed (which we'll probably figure out
today anyway).
--
Ian Bicking | [EMAIL
not found message
(via the optional debug_message argument to not_found).
Since you are on Windows, can you try these things out?
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
You received this message because you
require
controllers to be much more independent of the environment they are
running in.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss
detail).
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
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
still using the static file
handler. It automatically sets the Content-Type based on the extension
of the file (assuming you've kept the original extension on disk), or
you can pass it a content_type argument.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
://127.0.0.1 -- but that's probably confusing. I've made it clearer
in the trunk.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group
-standing bug when you try to view a
directory served by StaticURLParser; I don't think it's a regression.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
, root_directory=child_root,
cache_max_age=self.cache_max_age)(environ,
start_response)
Ian Bicking wrote:
Huh... it's supposed to do the recursive traversal of directories. So
it just creates another instance of StaticURLParser that points
Paste 1.1.1 is released.
This is a bug fix release, primarily for Windows users. This fixes a
bug in the static file serving that would cause all files to give 404
errors on Windows.
For the full list see: http://pythonpaste.org/news.html
--
Ian Bicking | [EMAIL PROTECTED] | http
.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
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
, if you
don't set both those cookies then one of the cookies might cover up the
other.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group
Ian Bicking wrote:
I'm having problems using authkit on web hosting company that uses
Apache (I also mentioned this in a post not too long ago). Here's
what's happening: when I run the app using paste http server by itself
everything works fine (i.e. the auth_tkt cookie is set also
. Is /philosophy/overview/ a directory served as
static files? Of course, without any particular support for index.html
there shouldn't be anything useful at that location...?
Anyway, there was an infinite redirect problem that I thought James
Gardner fixed for Paste 1.1.1.
--
Ian Bicking
automatically sends all requests that result in a 404 to the
public/ directory. If there's a public/philosophy/overview/ directory,
and no controller responding to public/philosophy, then it'll get passed
to StaticURLParser.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
, similar to
PrefixMiddleware (or maybe expand that to a general FixupMiddleware --
I'd like to move that out of Paste Deploy and into Paste anyway).
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
You received this message because
at: http://cheeseshop.python.org/pypi/Pylons/0.9.3
Put find_links=['http://cheeseshop.python.org/pypi/Pylons/0.9.3'] in you
setup.py, plus Pylons==0.9.3, and it should work.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
purepear wrote:
Yes, i'm new to Pylons and Python, but i wanna learn..
My question is: How can i set c.value = something in UTF-8 in the
controller and then print it in the template, cause i'm getting error
messages.
You probably want to do:
c.value = usomething in UTF-8
--
Ian
('MyPackageName')
And it'll be in some attribute there, not sure what.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group
subrequests that you could pretty up on your own.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email
and kill threads that are wedged.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
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
exactly 1 argument (2
given)*
Dammit, I read the WSGI spec when changing paste.httpserver but forgot
that there's an outstanding bug in it. Well, several bugs in it now.
I'll make a 1.2.1 release shortly.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
Ian Bicking wrote:
*type 'exceptions.TypeError': readline() takes exactly 1 argument (2
given)*
Dammit, I read the WSGI spec when changing paste.httpserver but forgot
that there's an outstanding bug in it. Well, several bugs in it now.
I'll make a 1.2.1 release shortly.
I've put out
Shannon -jj Behrens wrote:
On 2/2/07, Ian Bicking [EMAIL PROTECTED] wrote:
Shannon -jj Behrens wrote:
All of this can get really sticky, and I fear there are no good,
general answers. If you do decide to start killing long-running
threads, I do like the idea of letting the programmer
you want -- lately that's what I've been doing anyway
to give myself more control, but just grabbing the application object
out of what paste.recursive puts in the environment.)
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
-10/100 from FastEnet-10%2f100 -- WSGI/CGI dictates that the
path is decoded before it is sent to Routes, so the two end up the same.
Generally it seems like Routes should just reject such a substitution.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
, as those are URL escaped and peeled off before
Routes does its match.
The other alternative, of course, is to simply normalize these kinds of
arguments, e.g., replace / with _. Or I suppose you could double-escape
them (remembering of course to unescape them).
--
Ian Bicking | [EMAIL PROTECTED
; en-US; rv:1.8.1.1) Gecko/20061208
Firefox/2.0.0.1
It was getting the path out of the environment after the request
returns. I changed it in Paste trunk to figure out the path earlier,
which should fix this.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
.
That's really a separate issue, but there's reasons for each one of them.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group
egg_info writes some
(important) stuff to MyPackage.egg-info, and an egg itself generally
puts the metadata in EGG-INFO instead of MyPackage.egg-info -- though
when and why is a little unclear to me.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
Robert Leftwich wrote:
Ian Bicking wrote:
Cliff Wells wrote:
I'll probably do
some better tests later, but my initial suspicion is that the default
paster serve isn't as fast as CherryPy (both are proxyied to via
Nginx).
In my simplistic tests CherryPy 3 is about 50% faster than
comparing like with like.
It shouldn't dramatically improve performance to use multiple FastCGI
backends. Unless you have a SMP machine or something, which could
change performance in all kinds of ways.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
list of routes for the
entire app).
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send email to pylons
easy_install should blindly be used on any system. If
that's what you wanted to express.
You shouldn't install into system areas with easy_install -- you should
use some kind of isolated environment like workingenv, virtual-python,
or zc.buildout.
--
Ian Bicking | [EMAIL PROTECTED] | http
it.
Users who don't know Python or Pylons don't install Python or Pylons
libraries, they install applications, and those applications can and
should be largely self-contained when installed. Users who do know
Python and Pylons and want to hack on software shouldn't use Debian
packages.
--
Ian
, and the experience of
more people using this in more situations will be very helpful.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post
... there's no decent way to
abbreviate pylons.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
| Write code, do good | http://topp.openplans.org/careers
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
you are trying to document
something, especially if you don't love writing docs.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
| Write code, do good | http://topp.openplans.org/careers
--~--~-~--~~~---~--~~
You received this message
shouldn't be encoded.
Templating languages that auto-encode or know the structure of HTML will
get this right (e.g., ZPT, Genshi, etc.). IMHO Mako should encode
strings by default too. But either way, it's a template concern, not
something url_for should handle.
--
Ian Bicking | [EMAIL PROTECTED
in the FormEncode trunk (but you'll probably just want to
add it by hand in your code).
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
| Write code, do good | http://topp.openplans.org/careers
--~--~-~--~~~---~--~~
You received this message
choose one way. This is not a One True Way philosophy, this is more an
Intelligent Design philosophy.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
| Write code, do good | http://topp.openplans.org/careers
--~--~-~--~~~---~--~~
You
Max Ischenko wrote:
Hello Ian,
On 4/17/07, *Ian Bicking* wrote:
Max Ischenko wrote:
File /home/max/projects/dou-trunk/site/doupy/doupy/websetup.py,
line 54, in command
app_conf = appconfig('config:'+name, relative_to=conf_dir)
File /usr/lib/python2.4
when it goes through variable_decode.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
| Write code, do good | http://topp.openplans.org/careers
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
) to
represent the administrative options available for a complete site.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
| Write code, do good | http://topp.openplans.org/careers
--~--~-~--~~~---~--~~
You received this message because
problems with monitor anyway, I'm going to have to look at it
more closely (killing the monitor currently doesn't kill the subprocess).
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
| Write code, do good | http://topp.openplans.org/careers
blog at:
http://kbyanc.blogspot.com/2007/04/more-i-dig-through-code-more-paste-is.html
The fix is pretty trivial (and detailed in my blog). I'm sorry I've
been a lazy bum and not sent you patches yet.
Sure; I think I did what you suggested in r6482 (just removed the regex
check)
--
Ian
Evert Rol wrote:
Hi all,
I'm having a problem with encoded forward slashes in a URL. That is,
I need to pass an 'id' that has encoded forward slashes in its name,
but this results in routes not being be able map the URL: apparently
it sees another subset of paths in the URL, even
voltron wrote:
I have taken the advice from this forum and have installed nginx as a
proxy to the paster server. this works well, but I´m really, really
worried about using the Paster server in a production site, for
example, when testing a Mako template, the server just died. Are there
tips
Cliff Wells wrote:
On Tue, 2007-05-15 at 17:34 +, __wyatt wrote:
On May 15, 12:56 am, voltron [EMAIL PROTECTED] wrote:
Hi all
I have taken the advice from this forum and have installed nginx as a
proxy to the paster server. this works well, but I´m really, really
worried about using
Philip Jenvey wrote:
On May 16, 2007, at 7:51 AM, Graham Stratton wrote:
Hi all,
I see there's discussion about the issues with the @validate decorator
in the tracker. I've come across a few problems myself in the last
few weeks, so hopefully I can contribute here:
- In order to use
in this case).
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
| Write code, do good | http://topp.openplans.org/careers
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group
.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
| Write code, do good | http://topp.openplans.org/careers
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post
someplace
specifically with form:error name=
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
| Write code, do good | http://topp.openplans.org/careers
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
. You'd probably do the check in config.middleware:make_app.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
| Write code, do good | http://topp.openplans.org/careers
--~--~-~--~~~---~--~~
You received this message because you
, so I
dunno. Also it probably has more overhead than daemontools, though I
don't know if it really is significant.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
| Write code, do good | http://topp.openplans.org/careers
other than svn, there might be a plugin to
get setuptools to find your files.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
| Write code, do good | http://topp.openplans.org/careers
--~--~-~--~~~---~--~~
You received this message
Mike Orr wrote:
On 5/22/07, Ian Bicking [EMAIL PROTECTED] wrote:
My other question is, paster has a --monitor-restart option to restart
the server if it dies. But the Pylons Cookbook has recipes for
daemontools and supervisor2. Are these better than paster's monitor
for some reason
).
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
| Write code, do good | http://topp.openplans.org/careers
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post
voltron wrote:
Can I just download Pylons SVN and overwrite my present
version(easy_install version 0.95) without fear of destroying
anything?
Umm... I don't think that'll help you. The issue is if *your* source is
in version control, not where Pylons is.
On May 24, 1:27 am, Ian Bicking
control system. Distutils forces you (and Setuptools
allows you) to explicitly list all files in package_data.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
| Write code, do good | http://topp.openplans.org/careers
was what you expected.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
| Write code, do good | http://topp.openplans.org/careers
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons
in environ['paste.config'],
and why is that one being set wrong?
It's setting it because that's what the config middleware is supposed to
do. It sets that value. I don't know why the one it is setting is
wrong, but that's what should be fixed.
--
Ian Bicking | [EMAIL PROTECTED] | http
/news.html
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
| Write code, do good | http://topp.openplans.org/careers
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group
on the configured connection.
The frameworks would setup the transaction manager and configuration,
and database frameworks would basically consume this information.
--
Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org
| Write code, do good | http://topp.openplans.org/careers
Jonathan LaCour wrote:
Ian Bicking wrote:
Personally I'd like to see something a bit different:
* Way for a library to get the transaction manager.
* Interface for that transaction manager, maybe copied from Zope.
* Single convention for how to specify a database connection (ideally
Michael Bayer wrote:
On Jun 27, 6:42 pm, Ian Bicking [EMAIL PROTECTED] wrote:
The way I see this working is something like (vaguely):
def transaction_middleware(app):
def wrapper(environ, start_response):
manager = TransactionManager()
environ['transaction.manager
1 - 100 of 314 matches
Mail list logo