Did the solution in my previous posts in this thread (http://
groups.google.com/group/pylons-discuss/msg/736a388d21c206ec and
http://groups.google.com/group/pylons-discuss/msg/ed62a408ebe40ae3 ;
basically, to get rid of the 'module' object has no attribute
'find_module' error, as root, I
On Mar 8, 2009, at 5:01 PM, uwe wrote:
After experimenting I found I could override the _() call in the mako
template with
%
from testapp.lib.i18n import _
%
however this is somewhat labor intensive and I'd like to find a way to
override this in one place for all templates.
Any suggestion
Ben Bangert wrote:
On Mar 8, 2009, at 5:01 PM, uwe wrote:
After experimenting I found I could override the _() call in the mako
template with
%
from testapp.lib.i18n import _
%
however this is somewhat labor intensive and I'd like to find a way to
override this in one place for all
Add a 'last_action' datetime column to your user database, and do:
UPDATE users SET last_action = now() WHERE username = 'someuser'
on every nth request a (logged in) user does.
As for getting the current logged in users
SELECT username FROM users WHERE last_action now() - interval '2
On Mar 9, 7:33 am, zepolen zepo...@gmail.com wrote:
Add a 'last_action' datetime column to your user database, and do:
UPDATE users SET last_action = now() WHERE username = 'someuser'
on every nth request a (logged in) user does.
As for getting the current logged in users
SELECT username
On Fri, Mar 06, 2009 at 03:17:55PM -0800, Philip Jenvey wrote:
On Mar 6, 2009, at 2:34 PM, Ross Vandegrift wrote:
I've got:
config['pylons.request_options']['charset'] = None
config['pylons.response_options']['charset'] = 'iso-8859-1'
in my config/environment.py.
This should
Hi folks
I'm trying to upgrade an application from 0.9.6 to 0.9.7, and I'm
stuck on the last bug.
Whenever any of my formencode schemas cause validation to fail (via
the @validate decorator on form POST), I lose all the request params
when the request is redirected to my form display method.
On Fri, Mar 06, 2009 at 03:17:55PM -0800, Philip Jenvey wrote:
This should work:
config['pylons.request_options']['charset'] = None
Maybe you don't have this line at the end of the environment.py? It
should come after config.init_app
You can check request.charset later for what this
I'm not sure if anyone already noticed, but at the risk of repeating the
message: the issue tracker on pylonshq.com no longer works. All relevant
URLs return a 404.
Wichert.
--
Wichert Akkerman wich...@wiggy.netIt is simple to make things.
http://www.wiggy.net/ It is hard
I was looking a bit at the memcache handling and noticed something odd:
all requests were repeated. For example:
11 get tostyle4you.lib.helpers_image_url_by_id·scale=scale56·id=None
11 sending key tostyle4you.lib.helpers_image_url_by_id·scale=scale56·id=None
11 END
11 get
On Mar 9, 2009, at 12:53 PM, Ross Vandegrift wrote:
On Fri, Mar 06, 2009 at 03:17:55PM -0800, Philip Jenvey wrote:
This should work:
config['pylons.request_options']['charset'] = None
Maybe you don't have this line at the end of the environment.py? It
should come after config.init_app
On Mar 9, 2009, at 1:13 PM, Wichert Akkerman wrote:
I was looking a bit at the memcache handling and noticed something
odd:
all requests were repeated. For example:
11 get tostyle4you.lib.helpers_image_url_by_id·scale=scale56·id=None
11 sending key
12 matches
Mail list logo