=Configuration,DC=ne,DC=ch'])
]
Thanks for any insight.
--
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
be:
python setup.py develop
That's indeed what's documented:
http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/narr/project.html#installing-your-newly-created-project-for-development.
This was different with Pyramid 1.3 and Paste.
--
Eric Lemoine
Camptocamp France SAS
Savoie Technolac, BP
welcome.
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.camptocamp.com
--
You received this message because you are subscribed to the Google Groups
pylons-discuss
).
The only DeprecationWarning left is from Chameleon 2.8.5.
I also see this DeprecationWarning. Am I correct to understand that
there's currently no way to get rid of it?
Thanks,
--
Eric Lemoine
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44
On Wed, May 16, 2012 at 9:59 PM, Mike Orr sluggos...@gmail.com wrote:
On Tue, May 15, 2012 at 10:45 PM, Eric Lemoine
eric.lemo...@camptocamp.com wrote:
Did this patch make it into the “version 1” branch? If so would it make
sense to make a bug fix release?
There's only one branch, 'master
, but I guess we could quite easily drop
it. We still have like module interdependency issues but I guess this is
bad design on our side.
Thanks for the notice.
--
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
Hi
I'd like to be able to set custom config parameters in my views, and read
these parameters from request objects. Is this at all possible?
For example:
@view_config(route_name='a_route', renderer='a_renderer',
custom_param='some_value')
def v(request)
return {}
Thanks.
--
Eric
of the time) but to JS too and even to XML sometimes.
I don't want to have files whose extension is .jinja2 Which one is HTML and
which one is JS?
Won't
config.add_renderer('.hml', ...)
config.add_renderer('.js', ...)
config.add_renderer('.xml', ...)
work for you?
--
Eric Lemoine
='a_renderer',
custom_predicates=[extra_params('some_param')])
def v(request)
params = request.extra_params
return {}
If not, view_config also supports a few other constructs for wrapping
views (such as decorator).
Thanks for the suggestions. I'll look into more detail.
--
Eric Lemoine
in production. So it will be
good to know how paster perform how stable it is.
I have observed that Paste Server has a per-request overhead that is
significantly larger than Apache mod_wsgi. Sorry I have no numbers to
back this.
--
Eric Lemoine
Camptocamp France SAS
Savoie Technolac, BP 352
73377
-project-mini-conference/for
anyone
who's interested.
Looks like quite a conference. I've followed quite a few of the other
participants as they posted their slides. I'm on the wrong coast. haha
Do not complain, others are on the wrong continent :-)
Cheers,
--
Eric Lemoine
Camptocamp France SAS
#routes.util.url_for) in
javascript. Does someone have already create this tools ?
Hi Stéphane
We use Mako templates for that here. Like:
script
var url = ${url(controller=foo, action=bar)};
/script
--
Eric Lemoine
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel
view. Rather add_view and view_config are
identical except that view_config requires to you call config.scan() to
place the decorator within your code, instead of within your config.
You're right. It makes sense. And it works! Thank you.
--
Eric Lemoine
Camptocamp France SAS
Savoie Technolac
the route_name attribute, doesn't work either.
Is there a solution to this problem?
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.camptocamp.com
--
You received
On Thursday, April 7, 2011, Gael Pasgrimaud g...@gawel.org wrote:
Hi,
On Thu, Apr 7, 2011 at 4:47 PM, Eric Lemoine
eric.lemo...@camptocamp.com wrote:
Hi
I have view class defined as follows:
class Entry(object):
def __init__(self, request):
self.request = request
-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 : 00 33 4 79 44 44 96
Mail : eric.lemo...@camptocamp.com
On Saturday, January 15, 2011, Gael Pasgrimaud g...@gawel.org wrote:
On Sat, Jan 15, 2011 at 3:12 PM, Eric Lemoine
eric.lemo...@camptocamp.com wrote:
On Sat, Jan 15, 2011 at 4:53 AM, Mike Orr sluggos...@gmail.com wrote:
Hi all, I'm starting an article on Pyramid for Pylons 1 users,
focusing
On Wednesday, January 12, 2011, Chris McDonough chr...@plope.com wrote:
On Wed, 2011-01-12 at 22:30 +0100, Eric Lemoine wrote:
Hi
In the SQLAlchemy + URL Dispatch Wiki tutorial zope.sqlalchemy and
its ZopeTransactionExtension are used. The pyramid_routesalchemy Paste
template also configures
and pyramid_routesalchemy make use of it?
Thanks a lot,
--
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
Hi
So in Pyramid we have the Forbidden exception (and its associated
built-in view). I've been surprised that raising Forbidden results in
a 401 response, given the name of the exception I'd have expected a
403 response. So I find the exception name misleading, no?
Thanks,
--
Eric Lemoine
On Tuesday, December 28, 2010, Chris McDonough chr...@plope.com wrote:
On Tue, 2010-12-28 at 22:35 +0100, Eric Lemoine wrote:
Hello
Does Pyramid provide a helper for issuing redirects? I've found
nothing in the docs about that. Maybe pyramid_routehelper will provide
that?
Hi Eric,
http
Hello
Does anyone know why jsonify does
response.headers[Content-Type] = application/json
instead of
response.content_type = application/json
Is there a good reason for that?
Thanks,
--
Eric Lemoine
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33
On Wed, Jul 28, 2010 at 12:37 PM, Gael Pasgrimaud g...@gawel.org wrote:
On Wed, Jul 28, 2010 at 11:03 AM, Eric Lemoine
eric.lemo...@camptocamp.com wrote:
Hello
Does anyone know why jsonify does
response.headers[Content-Type] = application/json
instead of
response.content_type
-correctly-s.
Is it a known problem? Is there a workaround (other than downgrading
to WebTest 1.2?
Thanks for any response,
--
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
On Thu, May 13, 2010 at 8:03 PM, Eric Lemoine
eric.lemo...@camptocamp.com wrote:
Hello
My app's functional tests fail with WebTest 1.2.1, because auth
cookies aren't set in the requests. I use repoze.who and what. Someone
reported the issue on stackoverflow, see
http://stackoverflow.com
Hello
From a controller can I get a reference to the app (i.e. what's
returned by middleware.make_app)?
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.camptocamp.com
On Wed, Mar 17, 2010 at 8:10 PM, Mike Orr sluggos...@gmail.com wrote:
On Wed, Mar 17, 2010 at 11:24 AM, Wyatt Baldwin
wyatt.lee.bald...@gmail.com wrote:
On Mar 17, 10:27 am, Eric Lemoine eric.lemo...@camptocamp.com wrote:
Hello
From a controller can I get a reference to the app (i.e. what's
On Monday, March 1, 2010, Ben Bangert b...@groovie.org wrote:
On Mar 1, 2010, at 9:42 AM, Eric Lemoine wrote:
I have a problem since Routes 1.12 was uploaded to pypi:
I do url_for(action=myaction) in one of my controllers. With Routes
1.11 it returns the URL to the controller's myaction
with Routes 1.12.
Thanks for any help on this,
--
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
developed a general-interest controller could distribute for others to
use it in their Pylons apps.
--
Eric
--
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
Hello
I want to use
[server:main]
use = egg:Paste#http
host = 0.0.0.0
port = 0
so that my Pylons app's port number is assigned for me.
Now, from my app's make_app() function do I have a way to know what
port number has actually been assigned?
Thanks,
--
Eric Lemoine
Camptocamp France SAS
Hello
Does anyone know if there's a repoze.who plugin for CAS (Central
Authentication Service)?
Thanks,
--
Eric
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
pylons-discuss group.
To post to this group, send
Thanks for response Gustavo.
Eric
2009/3/16, Gustavo Narea m...@gustavonarea.net:
On Monday March 16, 2009 16:15:17 Eric Lemoine wrote:
Does anyone know if there's a repoze.who plugin for CAS (Central
Authentication Service)?
Not yet.
But if you want, you can create it by reading
Hi
The Pylons Book gives an example of using a wildcard in a route. The
example fails with Routes-1.10.3.
def controller_scan(directory=None):
return ['error', 'page']
...
from routes import Mapper
map = Mapper(controller_scan=controller_scan)
map.minimization = False
On Wed, Feb 11, 2009 at 9:02 AM, Mike Orr sluggos...@gmail.com wrote:
I personally validate and change the types of the config vars in
environment.py. That way if there's a missing or incorrect variable
it'll cause an error at startup rather than only in certain request
situations.
Makes
Hi
Some simple questions related to the debug var defined in the
development.ini file:
(1) Why is this variable defined using set? Other variables in the
development.ini file aren't defined using set, so what does make
debug a special case?
(2) I need to test whether the debug var is set in a
Hi
I agree that it'd be good to have virtualenv shipped with Python. I
wish I did have to tell my Pylons application users to first download
virtualenv, dearchive it, extract virtualenv.py, etc.
Cheers,
Eric
2009/1/27, Mike Orr sluggos...@gmail.com:
On Tue, Jan 27, 2009 at 1:40 PM, Akira
On Mon, Jan 19, 2009 at 10:29 PM, Wyatt Baldwin
wyatt.lee.bald...@gmail.com wrote:
On Jan 19, 9:20 am, Colin Flanagan quadvill...@yahoo.com wrote:
The SQLAlchemy argument is a very compelling one. I have an application
that, while being a CMS, has heavily relational data. I was urged by
Hi. We do use mod_wsgi and virtualenv in MapFish, and have a wiki page
documenting this. Check out
http://trac.mapfish.org/trac/mapfish/wiki/HowToMapFishServerApache.
Hope this helps.
Eric
2008/11/10, Christoph Haas [EMAIL PROTECTED]:
Hi,
I'm trying to deploy a Pylons app via mod_wsgi
know anyone
who would like to help me maintain AuthKit I'd be happy to hear from
them.
Cheers,
James
On Nov 3, 9:18 am, Eric Lemoine [EMAIL PROTECTED] wrote:
On Fri, Oct 31, 2008 at 7:41 PM, Walter Cruz [EMAIL PROTECTED] wrote:
A new version was released some weeks ago.. What's the issue
On Fri, Oct 31, 2008 at 7:41 PM, Walter Cruz [EMAIL PROTECTED] wrote:
A new version was released some weeks ago.. What's the issue of yor ticket?
Thanks for your response. Here's the ticket: http://authkit.org/trac/ticket/59
--
Eric
--~--~-~--~~~---~--~~
You
Hi List,
We created a ticket with a patch attached to it in the AuthKit trac
about 3 months ago, and the ticket hasn't received any attention. Does
anyone know if there's still some activity on AuthKit? Do you have
advice on how to make this ticket and patch move forward?
Thanks,
--
Eric
42 matches
Mail list logo