beaker expiretime invalid.
thanks in advance for any helps.
"""--- tests code ---"""
from beaker.cache import CacheManager
cm = CacheManager(type = "dbm", data_dir = cache_dir))
session_container = cm.get_cache("api.session")
# if have this line(call has_key() method), will print *expiretime
On Mon, Jan 14, 2008 at 08:35:31AM -0800, Mike Orr wrote:
> On Jan 14, 2008 4:57 AM, Lawrence Oluyede <[EMAIL PROTECTED]> wrote:
>
> > It seems that the complexity overcame the reason why extjs exists.
> > BTW extjs is too big to be included in pylons and does a hell lot more
> > than the standar
Hi Chris,
On Jan 14, 2008 11:04 PM, percious <[EMAIL PROTECTED]> wrote:
>
> I know a few of you on this board have been following the DBSprockets
> project so I wanted to post about a recent development: primitives.
>
Sounds cool!
Though personally, I'm not that much interested in automatic for
import inspect, types
from pylons import config
def transfer(controller = None, action = None, url = None, **kwargs):
"""usage:
1. result = transfer(url = "/someurl/someaction")
2. result = transfer(controller = "/controller1/sub_controller2",
action = "test") # kwargs will pass to a
> Though personally, I'm not that much interested in automatic form generation
> from SQLAlchemy models. I'd like to generate my forms "by hand". Just being
> able to say: I need a text field to enter user's name and another for email
> (with appropriate validators I'll supply). And I'd process va
I've tried to test this example with SQLAlchemyManager installed and
all I get is:
[EMAIL PROTECTED]:~/pylons$ python app.py
Traceback (most recent call last):
File "app.py", line 83, in
cookie_signoutpath = '/signout',
File "/usr/lib/python2.5/site-packages/AuthKit-0.4.0-py2.5.egg/
auth
Ok, I got sqlalchemymanager and I tried to make this example work and
python app.py said:
Traceback (most recent call last):
File "app.py", line 83, in
cookie_signoutpath = '/signout',
File "/usr/lib/python2.5/site-packages/AuthKit-0.4.0-py2.5.egg/
authkit/authenticate/__init__.py", lin
Has anyone managed to get Pylons to work with PyISAPIe? PyISAPIe
1.0.4 was just released on January 11 at
http://sourceforge.net/project/showfiles.php?group_id=142454
with built-in support for WSGI -- Django and Trac examples are
provided in the release. I have managed to get the Info.py file t
I could envision something like:
makeForm(User,
'getEmail',
requiredFields=['user_name', 'email_address'],
limitFields=['user_name', 'email_address'],
validators={'user_name':MyUsernameValidator(),
'email_address':MyEmailValidator()}