Hello!
I have a problem localizing pylons application that uses external
python modules, that, among other things, returns localized text to
app, which is displayed to user. Both uses gettext translation engine.
The problem is, that pylons app has separate translation settings than
the
Hello!
I am learning Pyramid after a few project on Pylons.
Cannot get the Pyramid routing (I am not using traversing).
Questions.
1. In Pylons it was usefull to set controller explicit, and have the
action dynamic (as part of Url matching).
Can I do somehting like that in Pyramid? Or I have to
Over the last two weeks I've completed a Pyramid app that hosts a legacy
Pylons app using the NotFound method and have fully integrated the
login/session management to provide a seamless experience for the
users. A bit of a learning curve, but it is clear and elegant.
Traversal took quite a bit
Mike,
do you have a planned date for the first release of Akhet? We have
been working on the landing page for Pyramid docs and I think it would
make a lot of sense to mention it there.
Carlos de la Guardia
On Mon, Mar 14, 2011 at 10:31 PM, Mike Orr sluggos...@gmail.com wrote:
I'm on IRC now
Interesting, the system seems to have lost my reply sent yesterday.
Did I 'reply to author' by mistake?
I wanted to signal great interest in this topic, and potentially some
willingness to participate and help out. However, I am currently (and
probably for the next year, roughly) deeply engaged
Hello all.
After I read this
http://docs.pylonsproject.org/projects/pyramid/1.0/narr/testing.html#using-the-configurator-and-pyramid-testing-apis-in-unit-tests
.
I try to unit test my auth policy, and my unit test about auth is
still fail (Forbidden not raised).
But I can get forbidden view
The pyramid form of url dispatch is very explicit - you make a specific
route and assign a view to handle that based on properties of the request.
In order to make the magic routing based on ``action``, the simple way is
to just use the pyramid_handlers package which provides a very similar
Tonight or tomorrow. I was hoping to get it done last night but the
docs need more organization.
Also, can you host the WebHelpers docs? It's going to need an update
too and it would make sense to put them all together.
On Wed, Mar 16, 2011 at 1:08 PM, Carlos de la Guardia
Hello,
I'm running an https only app and noticed that all the generated links are
http, resulting in 404 errors. I found that I was able to change the scheme
on the __init__ method of the handler, like this:
class MainHandler(object):
def __init__(self, request):
request.scheme =