Thanks for the reply guys.
I think I have a workaround. I made the mistake of setting the
session['logged_in'] in the __before__ function of the controller that
renders the index page of the site. I removed this and set this key
only when the user has logged in. This coupled with the fact that I
I think there is sth wrong with your installation or sth else. It
works for my Pylons app w/o problems.
I also can have nested defs/calls. I do use namespaces...
My working examples: with Mako:
%def name=field(name)
tr
td style=white-space:nowrap;width:1%;
${name}
On 9/20/07, voltron [EMAIL PROTECTED] wrote:
In principle its the way that Jose suggests, only that I´m not
allowing page caching. I would have to do some more testing though to
test against the cases that Mike mentioned about sessions being out of
sync
Two cases I've noticed it
Have a look at the wiki:
http://wiki.pylonshq.com/display/pylonscookbook/Authentication+and+Authorization
On 9/20/07, Jose Galvez [EMAIL PROTECTED] wrote:
I started looking at authkit today and I think I picked the wrong time to
look at, as it seems to be in flux. Does anyone know if authkit
yep thats what I was going through, I found it difficult to go through,
maybe I just need to spend a little more time with it
Jose
On 9/20/07, Tim Riley [EMAIL PROTECTED] wrote:
Have a look at the wiki:
http://wiki.pylonshq.com/display/pylonscookbook/Authentication+and+Authorization
On
has anyone got any working code for authkit with pylons 0.9.6 they would be
willing to share? I've tried going through the examples on the wiki and I
just can't get them to work. Specifically I was hopping to get the form
authorization stuff to work
Jose
On 9/20/07, Jose Galvez [EMAIL PROTECTED]
Hi there!
In the controller I do have 'def _a(self):' action (private method really)
It's I think odd what is happening when I access it these ways:
http://localhost:5000/controller/_a , Result is good: Error 404 Not Found
http://localhost:5000/controller/.a , Result is good:
I'm attempting an upgrade to 0.9.6 but cannot get Myghty running as the default
template language. The doco on
http://wiki.pylonshq.com/display/pylonsdocs/Using+Other+Template+Languages says
that Myghty is not supported by the template_engine argument passed to
config.init_app and refers to