beaker question

2008-01-15 Thread Alec
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

Re: WebHelpers plans

2008-01-15 Thread Christoph Haas
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

Re: Announcing DBSprockets Primitives

2008-01-15 Thread Max Ischenko
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

Re: Correct way to call a controller action from another controller's action

2008-01-15 Thread alec
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

Re: Announcing DBSprockets Primitives

2008-01-15 Thread Mark Ramm
> 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

Re: How to make QuickWiki Integration Tutorial on pylons .9.6.1, authkit0.4 and sqlalchemy_04_driver work

2008-01-15 Thread keemor
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

Re: How to make QuickWiki Integration Tutorial on pylons .9.6.1, authkit0.4 and sqlalchemy_04_driver work

2008-01-15 Thread keemor
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

IIS, Pylons and PyISAPIe?

2008-01-15 Thread Localhost
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

Re: Announcing DBSprockets Primitives

2008-01-15 Thread percious
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()}