Re: deploying on apache as 'raw cgi' due to checkmate from mod_python etc

2010-01-20 Thread Chris Lee-Messer
Yes, it is possible to serve django via cgi see http://code.djangoproject.com/wiki/ServerArrangements However, I would think that you would be better off one of several alternatives that use a second server to run django persistently. As one example, If you can use mod_rewrite on apache, you co

Re: Cannot connect to database

2007-09-23 Thread Chris Lee-Messer
I don't use windows very much, but it sounds like your version of python does not have the sqlite2 module installed, see http://cheeseshop.python.org/pypi/pysqlite/2.3.4 If you are new to python, it might be useful for you to use easy_install to download packages and resolve dependencies. You

Re: reassessing our Operating System

2007-09-18 Thread Chris Lee-Messer
We use RHEL4 in our datacenter. I've used ubuntu, debian and CentOS 5 on development servers. Choice of Redhat was based on what other boxes were running on before I arrived. I do indeed need to install separate packages for python and postgresql. So far it's been near zero maintenance after se

Re: Accessing named URL patterns from views

2007-04-22 Thread Chris Lee-Messer
On Apr 21, 1:53 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > [snip] > We haven't documentedreverse() anywhere, as far as I know. So worth > filing a ticket. > I realize that urlresolvers.reverse() was not documented earlier, but does the addition of named urls mean that the old behavior is

Re: pure-HTTP deployment?

2006-12-23 Thread Chris Lee-Messer
On the topic of a pure python wsgi http server. Has anyone checked out twisted. I seem to remember that zope actually nows uses twisted for its server, and there is a twisted.web2.wsgi module that I've seen mentioned elsewhere as a functional wsgi server that's being used in production for some s

Re: Problem: Python search path - module order

2006-10-19 Thread Chris Lee-Messer
I know almost nothing about setuptools, but you may be able to do: python setup.py develop from your svn directory to tell setuptools to use the trunk. Otherwise, you need to manipulate your python search path either in the shell or in code. --~--~-~--~~~---~--~