I seem to regularly run into a model where I would like to change how
controller instantiation happens. A quite common patern I see is that
you want to do something with a subitem of a model, for example manage
the tasks for a particular project. With standard pylons you can easily
setup a route
... and it's not webhelper, but it's routes.url_for function that does
the encoding.
Looking at the URI spec (rfc2396 section 2.4.1), it seems to me that
url_for function should encode the space character as %20, not +.
Sorry for the confusion,
--Michi
On May 14, 8:19 am, jerry [EMAIL
Hi,
I have two parallel applications running from the same host but on
different ports.
How do I configure Authkit so that each one creates a unique cookie.
Currently if you log into one app, you are also authenticated for the
other.
The cookie name is the host name.
TIA
Hello,
I am having trouble understanding how the methods of a REST controller
are implemented, especially the new()/create() and edit()/update()
methods.
new() and edit() return a form if format is 'html'; would they return
an XML document if format were 'xml'?
Now say the client POSTs an XML
i'm not sure if this is the same...
i often do stuff like this:
class coreObjectController:
def do_stuff():
Session.query( self.model_object ).blach
def do_more():
pass
class aCrontroller( coreObjectController ):
self. model_object = class_a
class bCrontroller( coreObjectController ):
On Sun, May 18, 2008 at 5:15 PM, Alexis Georges
[EMAIL PROTECTED] wrote:
Hello,
I am having trouble understanding how the methods of a REST controller
are implemented, especially the new()/create() and edit()/update()
methods.
I think you mean how the methods work not how they are
Previously Jonathan Vanasco wrote:
i'm not sure if this is the same...
i often do stuff like this:
class coreObjectController:
def do_stuff():
Session.query( self.model_object ).blach
def do_more():
pass
class aCrontroller( coreObjectController ):
self. model_object =
On Fri, May 16, 2008 at 01:38:24PM -0700, Jonathan Vanasco wrote:
I'm a little unclear on the better ways to deploy a Pylons app.
My production servers run nginx -- is it better to use some fastcgi
support (if so, how?) or just do a paster serve and proxy to that
port?
I've read a
Hi.
I took a look at the code and it doesn't appear to be a nose problem.
It's either a bug in Routes or somehow the Routes config is not
getting configured properly during your test run. I can't see
anything in environment.py or tests/__init__.py that would indicate
your pylons app is out of