Aha, thank you, Ches. It's similar to what I want but the problem is
that the quantity of different static_files paths I need is thousands,
so with this mean I have to generate thousands of apps, yep?
On Dec 13, 7:49 am, Ches Martin [EMAIL PROTECTED] wrote:
Hi.
Not exactly per-request with
On Dec 13, 2007 10:28 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
...And evidently I get new problem: how to access session from that
CustomURLParser.__call__() method defined in middleware?
I think you're better off with a custom controller superclass than
middleware; then you can have
...And evidently I get new problem: how to access session from that
CustomURLParser.__call__() method defined in middleware?
I have:
if not vars().has_key('model'):
import myproject.model as model
if not vars().has_key('session'):
from pylons import
On Thu, Dec 13, 2007 at 11:47:58AM +0100, Marcin Kasperski wrote:
Maybe I missed something, but
... what should I do to upgrade existing project to the new
Pylons release? I mean, for example, patching middleware.py so
it suits newer idioms, patching imports etc.
Install the new
You're right, but this causes new questions: how to solve problems
with large files, caching etc?
On Dec 13, 6:38 pm, Matt Feifarek [EMAIL PROTECTED] wrote:
I think you're better off with a custom controller superclass than
middleware; then you can have access to all the stuff you're used to
Hi all... I've searched through the pylons discuss archives, and am
still a bit stuck.
I've read through the deployment guide for
pylons/apache/fcgi/mod_rewrite at pylonshq, as well as most of the
documents linked from it in reference. I'm pretty used to deploying
rails
applications in similar
Sorry for the delay, but I also need the name of your project.
--~--~-~--~~~---~--~~
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
DbMechanic aims to totally replace and exceed Catwalk. Chris posted a
fair wack about it recently on the TG trunk list if you're interested.
The catwalk implementation was pretty difficult to extend and
maintain. But dbsprockets seems likely to be much easier to
maintain/extend once it gets
Konstantin Alexandrov wrote:
Hello.
Is this possible with Pylons to change static files path in
BaseController's __before__() method each time on request?
I haven't followed any of this, but I thought I'd mention that you can do:
def action(self):
file_path = (calculate)
app =
Hi,
The generate method prefers to use the route which has the least
uncommon variables in it, but if route is not an exact match then a
route with most common variables must be selected I suppose. The
comment says the same thing but the code does the one I mentioned
above.
Here is what I mean
I hit up Ben Bangert with this briefly on IRC:
I am using map.resource in the manner suggested by the docs. However,
it blows up whenever the id has a encoded space in it.
So, when /resource/id looks like /locations/Tulsa%20OK it fails.
Ben suggested this is an issue with the default regexp
On Dec 4, 2:39 pm, Rick Flosi [EMAIL PROTECTED] wrote:
AdminPylon
http://adminpylon.devjavu.com/
Anyone made any contact with this person? The new code real soon now
message has been up for quite some time. I sent an email awhile ago
asking if he/she could just put up what's done as a branch
12 matches
Mail list logo