Hi David,
I couldn't help you so far because I'm a newbie with Pylons and
sincerely I'm thinking what platform to use for my future
developments, if TurboGears or Pylons. I like more Pylons by its
integration (using WSGI) but the TurboGears' community is greater and
there are already several
I am trying to get Pylons to work with a web server that supports
FCGI, the problem is, the server manges URLs with extentions like .php
e.t.c which Pylons does not have. Are there some key things that I
have to take notice of when trying to configure a server with Pylons?
I inten to use Hiawatha
that should have read using the paster server... typing too fast...
On May 30, 1:57 pm, voltron [EMAIL PROTECTED] wrote:
I am trying to get Pylons to work with a web server that supports
FCGI, the problem is, the server manges URLs with extentions like .php
e.t.c which Pylons does not have.
Hi!
Thanks for your answers
I didn't read the link, but I can see what you're saying. Here are a
couple tricks I can suggest:
* To test your controllers somewhat in isolation, instead of calling
render_response, call my_render_response which you write yourself. In
my_render_response,
I was trying to do a redirect_to call in the __before__ method a
controller. Pylons isn't catching the HTTPFound exception and doing
the redirect.
in pylons/controllers.py : in both the Controller and the
WSGIController classes
if hasattr(self, '__before__'):
Can anyone comment on correct way to obtain clients ip address?
We want to handle intranet clients (within our sub-domain) differently
than internet clients.
Request.environ['REMOTE_ADDR'] works when no proxy but gives ip address
of proxy when proxy is being used.
Shannon -jj Behrens wrote:
* To test your controllers somewhat in isolation, instead of calling
render_response, call my_render_response which you write yourself. In
my_render_response, in testing mode, you can simply return JSON, and,
in real mode, you can return a real page. Then, you can
On May 28, 2007, at 2:17 AM, Shannon -jj Behrens wrote:
On 5/27/07, Anil [EMAIL PROTECTED] wrote:
user_mapper = assign_mapper(ctx, User, user_table,
properties = {
'alerts': relation(Alert,
cascade=all, delete-orphan)
On May 30, 2007, at 6:31 AM, [EMAIL PROTECTED] wrote:
I was trying to do a redirect_to call in the __before__ method a
controller. Pylons isn't catching the HTTPFound exception and doing
the redirect.
in pylons/controllers.py : in both the Controller and the
WSGIController classes
My app can find paste.deploy.CONFIG['sqlalchemy.echo_pool'] when run
under 'paster shell', but it moves to
CONFIG['app_conf']['sqlalchemy.echo_pool'] under 'paster serve'. Yet
myapp/config/middleware.py contains:
def make_app(global_conf, full_stack=True, **app_conf):
# Setup the Paste
On May 30, 2007, at 3:27 PM, Mike Orr wrote:
My app can find paste.deploy.CONFIG['sqlalchemy.echo_pool'] when run
under 'paster shell', but it moves to
CONFIG['app_conf']['sqlalchemy.echo_pool'] under 'paster serve'. Yet
myapp/config/middleware.py contains:
def make_app(global_conf,
On 5/30/07, Philip Jenvey [EMAIL PROTECTED] wrote:
On May 30, 2007, at 3:27 PM, Mike Orr wrote:
My app can find paste.deploy.CONFIG['sqlalchemy.echo_pool'] when run
under 'paster shell', but it moves to
CONFIG['app_conf']['sqlalchemy.echo_pool'] under 'paster serve'. Yet
On 5/30/07, Mike Orr [EMAIL PROTECTED] wrote:
On 5/30/07, Philip Jenvey [EMAIL PROTECTED] wrote:
On May 30, 2007, at 3:27 PM, Mike Orr wrote:
My app can find paste.deploy.CONFIG['sqlalchemy.echo_pool'] when run
under 'paster shell', but it moves to
On 5/30/07, Mike Orr [EMAIL PROTECTED] wrote:
On 5/30/07, Mike Orr [EMAIL PROTECTED] wrote:
On 5/30/07, Philip Jenvey [EMAIL PROTECTED] wrote:
On May 30, 2007, at 3:27 PM, Mike Orr wrote:
My app can find paste.deploy.CONFIG['sqlalchemy.echo_pool'] when run
under 'paster
On May 30, 2007, at 4:43 PM, Mike Orr wrote:
On 5/30/07, Mike Orr [EMAIL PROTECTED] wrote:
On 5/30/07, Mike Orr [EMAIL PROTECTED] wrote:
On 5/30/07, Philip Jenvey [EMAIL PROTECTED] wrote:
On May 30, 2007, at 3:27 PM, Mike Orr wrote:
My app can find
Mike Orr wrote:
On 5/30/07, Mike Orr [EMAIL PROTECTED] wrote:
On 5/30/07, Mike Orr [EMAIL PROTECTED] wrote:
On 5/30/07, Philip Jenvey [EMAIL PROTECTED] wrote:
On May 30, 2007, at 3:27 PM, Mike Orr wrote:
My app can find paste.deploy.CONFIG['sqlalchemy.echo_pool'] when
On 5/30/07, Philip Jenvey [EMAIL PROTECTED] wrote:
On May 30, 2007, at 4:43 PM, Mike Orr wrote:
On 5/30/07, Mike Orr [EMAIL PROTECTED] wrote:
On 5/30/07, Mike Orr [EMAIL PROTECTED] wrote:
On 5/30/07, Philip Jenvey [EMAIL PROTECTED] wrote:
On May 30, 2007, at 3:27 PM, Mike Orr
i've been scratching my head about how to do this with Routes but i'm
beginning to think it's not possible
what i want to do is compute the controller value based on (dynamic
parts) of the requested url - for example, if the requested url is /
users/[user]/account/[account], i'd like to be able
Hello everybody,
I have some issues with my web hosting provider, and I can't use
mod_python properly. But, I would still like to use Pylons for my web.
So, I was thinking of somehow running Pylons with standalone Python
HTTP server (performance is not an issue, for now) behind Apache
server. Is
Gregory W. Bond wrote:
i've been scratching my head about how to do this with Routes but i'm
beginning to think it's not possible
what i want to do is compute the controller value based on (dynamic
parts) of the requested url - for example, if the requested url is /
20 matches
Mail list logo