Re: Enable SSL only for selected controllers

2007-07-23 Thread lasizoillo
Hi I try to explain this whith my limited english. If you don't understand the problem is mine. First, read this: http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html#vhosts You need decrypt the https to run the controler dispatching. For decrypt the info, you must configure the ssl in the site.

extjs

2007-07-23 Thread ajnar
hi all, im a newbie to python and ive been reading how pylons is the web framework to embark on. However i have found absolutely no information on how to use extjs within pylons. Could anyone point me in the right direction here, was hoping to accomplish a extjs-pylons-sqlalchemy-postgre

using the Global config object

2007-07-23 Thread voltron
I tried adding my own keys to the deveopment.ini and reading them with the new Global config object, I did not succeed because I had problems with the sytax, the only thing I can get to work is when I add values to the [app:main] key in the file. Can someone show me how to do this? Thanks

Re: using the Global config object

2007-07-23 Thread michael
On Mon, 23 Jul 2007 12:20:40 - voltron [EMAIL PROTECTED] wrote: I tried adding my own keys to the deveopment.ini and reading them with the new Global config object, I did not succeed because I had problems with the sytax, the only thing I can get to work is when I add values to the

Re: using the Global config object

2007-07-23 Thread voltron
I got a key error Mike. I traced the Config object, and it really was ´nt there On Jul 23, 2:28 pm, michael [EMAIL PROTECTED] wrote: On Mon, 23 Jul 2007 12:20:40 - voltron [EMAIL PROTECTED] wrote: I tried adding my own keys to the deveopment.ini and reading them with the new Global

Re: Enable SSL only for selected controllers

2007-07-23 Thread Damjan
You'll set your app with both a SSL and non-SSL server. Then in your login form you'll set https:// as the POST action. Even better if the login form itself is served as https:// - you can do that by changing the Login url in the HTML but also you can check in the controller that shows the login

Javascript text editor.

2007-07-23 Thread Echo
Can anyone recommend a good javascript editor? Also, what about a good date, date/time picker? -- -Echo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to

Re: Javascript text editor.

2007-07-23 Thread voltron
JSEclipse or Aptana(http://www.aptana.com/) On Jul 23, 4:41 pm, Echo [EMAIL PROTECTED] wrote: Can anyone recommend a good javascript editor? Also, what about a good date, date/time picker? -- -Echo --~--~-~--~~~---~--~~ You received this message because you

Re: Javascript text editor.

2007-07-23 Thread Echo
On 7/23/07, voltron [EMAIL PROTECTED] wrote: JSEclipse or Aptana(http://www.aptana.com/) On Jul 23, 4:41 pm, Echo [EMAIL PROTECTED] wrote: Can anyone recommend a good javascript editor? Also, what about a good date, date/time picker? -- -Echo Sorry, I should have made my self more

Re: Javascript text editor.

2007-07-23 Thread voltron
Oh, ok then, take your pick from this list, there are many to choose from, the details would help you with your choice. I like Openwebwares and Xinhas editors. http://www.htmlarea.com/directory/Web_Software_Components/WYSIWYG_Editors/index.html On Jul 23, 5:11 pm, Echo [EMAIL PROTECTED] wrote:

Re: Javascript text editor.

2007-07-23 Thread Echo
On 7/23/07, voltron [EMAIL PROTECTED] wrote: Oh, ok then, take your pick from this list, there are many to choose from, the details would help you with your choice. I like Openwebwares and Xinhas editors. http://www.htmlarea.com/directory/Web_Software_Components/WYSIWYG_Editors/index.html

Re: Javascript text editor.

2007-07-23 Thread Ian Bicking
Echo wrote: On 7/23/07, voltron [EMAIL PROTECTED] wrote: JSEclipse or Aptana(http://www.aptana.com/) On Jul 23, 4:41 pm, Echo [EMAIL PROTECTED] wrote: Can anyone recommend a good javascript editor? Also, what about a good date, date/time picker? -- -Echo Sorry, I should have made my

Re: 0.9.6rc2 templates

2007-07-23 Thread Philip Jenvey
On Jul 19, 2007, at 7:41 PM, Lee Connell wrote: I am trying to follow the tutorial for pylons using this version, however there is no templates directory in my project. I created this directory and put my templates in there. Pylons starts my project find but when i return a render of my

Re: stripping the cgi part in h.url_for and others helpers

2007-07-23 Thread Philip Jenvey
On Jul 22, 2007, at 1:44 PM, Walter Cruz wrote: Routes uses environ['SCRIPT_NAME']. So, when I generate a url with h.url*, it brings me the dispatch.cgi part. I changed that with a middleware: class CleanMiddleware(object): def __init__(self, app): self.app = app def

Re: using the Global config object

2007-07-23 Thread Philip Jenvey
On Jul 23, 2007, at 5:20 AM, voltron wrote: I tried adding my own keys to the deveopment.ini and reading them with the new Global config object, I did not succeed because I had problems with the sytax, the only thing I can get to work is when I add values to the [app:main] key in the

Re: Pylons 0.9.6rc1 fails to start helloworld project: Lookup error

2007-07-23 Thread Philip Jenvey
On Jul 19, 2007, at 2:31 PM, Gambit wrote: /usr/lib/python2.4/site-packages/PasteDeploy-1.3.1-py2.4.egg/paste/ deploy/loadwsgi.py, line 541, in get_context entry_point, protocol, ep_name = self.find_egg_entry_point( File

Re: Using genshi temlates

2007-07-23 Thread Philip Jenvey
On Jul 22, 2007, at 11:32 AM, Vladimir Rusinov wrote: Hello! I'm trying to create my first application with pylons. I'm using pylons 0.9.4.1 (as it is last available in gentoo official portage tree). I have successfully created hello world app and trying to use templates in it. I

Re: Pylons 0.9.6rc1 fails to start helloworld project: Lookup error

2007-07-23 Thread James Gardner
I think this issue might have been due to missing ez_setup.py files. Can you try with the latest Pylons SVN and see if that works? Cheers, James Philip Jenvey wrote: On Jul 19, 2007, at 2:31 PM, Gambit wrote: /usr/lib/python2.4/site-packages/PasteDeploy-1.3.1-py2.4.egg/paste/

Re: using the Global config object

2007-07-23 Thread voltron
I tried creating a rubric of own, under [app:main], I did this: [app:main] ... ... ... [testApp] setting1 = test setting2 = test2 Thanks On Jul 23, 8:19 pm, Philip Jenvey [EMAIL PROTECTED] wrote: On Jul 23, 2007, at 5:20 AM, voltron wrote: I tried adding my own keys to the deveopment.ini

Re: 0.9.6rc2 templates

2007-07-23 Thread Lee Connell
Philip, Thanks for reply, I tried that when I spoke to you on IRC and it worked no problems. On 7/23/07, Philip Jenvey [EMAIL PROTECTED] wrote: On Jul 19, 2007, at 7:41 PM, Lee Connell wrote: I am trying to follow the tutorial for pylons using this version, however there is no

Re: Pylons 0.9.6rc1 fails to start helloworld project: Lookup error

2007-07-23 Thread Gambit
Here it is: # cp -Rp helloworld.egg-info helloworld.egg-info.orig # python setup.py egg_info The required version of setuptools (=0.6c6) is not available, and can't be installed while this script is running. Please install a more recent version first. (Currently using setuptools 0.6c5