Re: Pylons 0.9.6 Release Candidate 1

2007-07-18 Thread Jonas
On 17 jul, 20:08, Philip Jenvey [EMAIL PROTECTED] wrote: models has indeed moved to model. You might want to switch your app to use model so you're more in sync with the template, but it's not at all required. Nothing internally in Pylons assumes you have a model directory. There is a bug

Re: Pylons 0.9.6 Release Candidate 1

2007-07-18 Thread Jonas
On 17 jul, 20:08, Philip Jenvey [EMAIL PROTECTED] wrote: models has indeed moved to model. You might want to switch your app to use model so you're more in sync with the template, but it's not at all required. Nothing internally in Pylons assumes you have a model directory. There is a bug

Idea about running test from the tests and hints to develop it

2007-07-18 Thread Agustin Villena
Hi! Yesterday I was playing with the new nose (0.10a1), testing the htmloutput plugin, and then I imaginated a new feature of pylons: What If the nose testrunner was 'embedded' in pylons?. Pylons right now has a powerful debugger and interactive shell embedded on it... and we can make them to

Setting new keys in the environ object

2007-07-18 Thread voltron
Hi! I´m trying to set the REMOTE_USER key in the environ object from a middleware that I wrote like this: environ['REMOTE_USER'] = sharriff # test 1 environ['paste.auth_tkt.set_user'](shadow) #test2 both methods do not work, I get key errors in my controllers. Coulsd someone tell me how this

SAContext 0.3.2 and future plans

2007-07-18 Thread Mike Orr
SAContext 0.3.2 has been released. http://sluggo.scrapping.cc/python/sacontext/ Changes: * .add_engine and .add_engine_from_config now return the (engine, metadata) pair created, in addition to registering them internally. Requested by Andrey Petrov. * New strategy ExilirStrategy contribued

Re: SAContext 0.3.0

2007-07-18 Thread Mike Orr
On 7/11/07, beachcoder [EMAIL PROTECTED] wrote: I haven't used Exilir or Tesla so I don't know how compatible SAContext is with them. A couple people have said they're trying it but none have given me feedback yet. (Hint) I got SAContext(0.2.1) working with Elixir, by creating an

Updated SQLAlchemy for people in a hurry

2007-07-18 Thread Mike Orr
I updated SQLAlchemy for people in a hurry for Pylons 0.9.6 and SAContext. http://wiki.pylonshq.com/display/pylonscookbook/SQLAlchemy+for+people+in+a+hurry I don't have time before my trip to test the code and proofread it, so can somebody do this? Related articles also need to be reviewed and

Assigning values to REMOTE USER

2007-07-18 Thread voltron
Hi, I am assigning REMOTE_USER a value in a middleware that I wrote like this: environ['REMOTE_USER'] = testuser # test 1 environ['paste.auth_tkt.set_user'](testuser) # test2 My problem is that both assignment methods do not work, no key or value is written in the request object, and thus the

button_to_remote

2007-07-18 Thread Jose Galvez
should class_ work with button_to_remote? I used it today and noticed that the class attribute was not set in the resulting html. Jose --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post

Re: button_to_remote

2007-07-18 Thread Philip Jenvey
On Jul 18, 2007, at 7:03 PM, Jose Galvez wrote: should class_ work with button_to_remote? I used it today and noticed that the class attribute was not set in the resulting html. I don't see a button_to_remote function in WebHelpers, do you mean link_to_remote? -- Philip Jenvey

Re: button_to_remote

2007-07-18 Thread Jose Galvez
Sorry I meant to say submit_to_remote (my code actually has submit_to_remote) Jose Philip Jenvey wrote: On Jul 18, 2007, at 7:03 PM, Jose Galvez wrote: should class_ work with button_to_remote? I used it today and noticed that the class attribute was not set in the resulting html.

Re: button_to_remote

2007-07-18 Thread ben adam
the following works for me: h.submit_to_remote(name=abc, value='Go', html=dict(class_=submit), ) On Jul 18, 8:28 pm, Jose Galvez [EMAIL PROTECTED] wrote: Sorry I meant to say submit_to_remote (my code actually has submit_to_remote) Jose Philip Jenvey wrote: On Jul 18, 2007, at 7:03

Re: Idea about running test from the tests and hints to develop it

2007-07-18 Thread Max Ischenko
Hi, On 7/18/07, Agustin Villena [EMAIL PROTECTED] wrote: Hi! Yesterday I was playing with the new nose (0.10a1), testing the htmloutput plugin, and then I imaginated a new feature of pylons: What If the nose testrunner was 'embedded' in pylons?. Pylons right now has a powerful debugger