Re: Full and relative URL.

2011-08-07 Thread Eric Lemoine
On Mon, Aug 8, 2011 at 7:15 AM, Chris McDonough wrote: > On Mon, 2011-08-08 at 07:04 +0200, Eric Lemoine wrote: >> On Mon, Aug 8, 2011 at 6:49 AM, Chris McDonough wrote: >> > On Mon, 2011-08-08 at 06:38 +0200, Eric Lemoine wrote: >> >> >> Right. I'd

Re: Full and relative URL.

2011-08-07 Thread Eric Lemoine
On Mon, Aug 8, 2011 at 6:49 AM, Chris McDonough wrote: > On Mon, 2011-08-08 at 06:38 +0200, Eric Lemoine wrote: >> >> Right. I'd rather apply this: "don't generate fully-qualified URLs in >> >> your web apps, or you may have trouble running them behind p

Re: Full and relative URL.

2011-08-07 Thread Eric Lemoine
you. Also, FWIW, when relying on ProxyPreserveHost the backend must be aware of the proxy, as it needs a ServerName or ServerAlias referencing the proxy. This might be a management hassle in some situations. > Sure, apologies if I sound dismissive, I just hate having long > discussions a

Re: Full and relative URL.

2011-08-07 Thread Eric Lemoine
On Sunday, August 7, 2011, Chris McDonough wrote: > On Sun, 2011-08-07 at 09:49 +0200, Eric Lemoine wrote: > >> > There's no reason for the Host header to *not* be passed >> > to the backend server, especially if one of the main purposes in life of >> > the

Re: Full and relative URL.

2011-08-07 Thread Eric Lemoine
On Sun, Aug 7, 2011 at 1:15 AM, Chris McDonough wrote: > On Sat, 2011-08-06 at 22:56 +0200, Eric Lemoine wrote: >> > >> > In what configuration would it be sane to have any proxy set the >> Host >> > header to anything except what the client user agent says t

Full and relative URL.

2011-08-06 Thread Eric Lemoine
On Thu, Aug 4, 2011 at 6:50 PM, Chris McDonough wrote: > On Thu, 2011-08-04 at 17:40 +0200, Eric Lemoine wrote: >> >> Shouldn't Pyramid be able to generate paths, as opposed to URLs, for >> >> static resources? Fowarding the Host header doesn't sound like a go

Re: Full and relative URL.

2011-08-04 Thread Eric Lemoine
On Thu, Aug 4, 2011 at 11:25 AM, Chris McDonough wrote: > On Thu, 2011-08-04 at 10:45 +0200, Eric Lemoine wrote: >> On Mon, Jan 24, 2011 at 6:22 AM, Chris McDonough wrote: >> > Have nginx pass through the Host header to Pyramid.  The right URLs will >> >

Re: Full and relative URL.

2011-08-04 Thread Eric Lemoine
ound like a good solution, as you'll run into issues if you have (Apache) virtual hosts on the backend server. Thanks, -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : eric.lemo...@camptocamp.com http://www.ca

Re: Terminology Change - Template to Skeleton

2011-03-22 Thread Eric Lemoine
ct using url dispatch (no traversal) pyramid_starter:pyramid starter project pyramid_zodb: pyramid ZODB starter project So, so long that Pyramid is based on Paste for templates, introducing a new term might be confusing to people. My 2 cents. -- Eric Lemoine Camptocamp France SAS S

Re: mod_wsgi mako - unable to find template

2011-03-08 Thread Eric Lemoine
include a MANIFEST.in file (e.g. <https://github.com/Pylons/pyramid/blob/master/pyramid/paster_templates/routesalchemy/MANIFEST.in_tmpl>). Cheers, -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : eric.

Re: mod_wsgi mako - unable to find template

2011-03-06 Thread Eric Lemoine
c route. > > I'm still stuck. Have you tried to run python setup.py install or develop to actually install your app in the Python environment? -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail :

Re: Pyramid 1.0 released.

2011-01-31 Thread Eric Lemoine
On Mon, Jan 31, 2011 at 1:26 AM, Chris McDonough wrote: > Pyramid 1.0 (final) has been released to PyPI. Awesome! I'm looking forward to using Pyramid in production. -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44

Re: Pyramid 1.0a10 released

2011-01-20 Thread Eric Lemoine
t;>  Once this step is accomplished, config.add_handler will >>>  work again. >> >> Released pyramid_sqla 0.2 to reflect this. > > Does pyramid_sqla have any documentation? I couldn't find anything on pypi > or pylonsproject.org. It's linked on <

Re: Pyramid for Pylons users guide

2011-01-15 Thread Eric Lemoine
pylonsbook.com/en/1.1/the-web-server-gateway-interface-wsgi.html#wsgi-in-pylons-controllers>. I'd be very interested to know if and how this can be done in a Pyramid application. Cheers, -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel

doc typo

2011-01-03 Thread Eric Lemoine
<http://docs.pylonshq.com/pyramid/dev/narr/flash.html> The title of the last section should "Using the session.peek_flash Method". Cheers, -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96

Re: json.dumps args

2011-01-03 Thread Eric Lemoine
On Mon, Jan 3, 2011 at 10:47 AM, Chris McDonough wrote: > On Mon, 2011-01-03 at 08:49 +0100, Eric Lemoine wrote: >> On Mon, Jan 3, 2011 at 8:23 AM, Chris McDonough wrote: >> > On Mon, 2011-01-03 at 08:15 +0100, Eric Lemoine wrote: >> >> Hi >> >> >>

Re: json.dumps args

2011-01-02 Thread Eric Lemoine
On Mon, Jan 3, 2011 at 8:23 AM, Chris McDonough wrote: > On Mon, 2011-01-03 at 08:15 +0100, Eric Lemoine wrote: >> Hi >> >> When using the json renderer I'd like to be able to pass args (cls) to >> json.dumps. From my understanding of the Pyramid code this is

json.dumps args

2011-01-02 Thread Eric Lemoine
at a patch to json_renderer_factory doesn't make sense. If a patch to json_renderer_factory does make sense I'm happy to provide one; for that, guidelines on how/where the dumps args would be provided would be helpful. Thanks a lot, -- Eric Lemoine Camptocamp France SAS Savoie Techno

Re: @view_config and URL dispatch

2010-12-12 Thread Eric Lemoine
lso using url dispatch." Because, based on your answer, (a) the use of route_name isn't an advanced feature, and (b) it isn't useful only when using *both* URL dispatch *and* traversal (i.e. "also" is confusing). Cheers, -- Eric Lemoine Camptocamp France SAS Savoie

@view_config and URL dispatch

2010-12-12 Thread Eric Lemoine
hanks, -- Eric Lemoine Camptocamp France SAS Savoie Technolac, BP 352 73377 Le Bourget du Lac, Cedex Tel : 00 33 4 79 44 44 96 Mail : eric.lemo...@camptocamp.com http://www.camptocamp.com -- You received this message because you are subscribed to the Google Groups "pylons-devel" group.