Re: query comparing two attributes of an object

2007-10-08 Thread Dan Goldner
Thanks!! On Oct 8, 2:19 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Mon, 2007-10-08 at 12:14 -0700, Dan Goldner wrote: > > Hello, > > Is it possible to use filter() to query objects based on comparisons > > among attributes of the same object? For example, i

query comparing two attributes of an object

2007-10-08 Thread Dan Goldner
Hello, Is it possible to use filter() to query objects based on comparisons among attributes of the same object? For example, if my model Task has two attributes start_year and end_year and I want to select all tasks where start_year was somehow set later than end_year, I would try something like

Re: Deploying multiple sites on one computer using SSL

2007-03-25 Thread Dan Goldner
Sincere thanks to both Malcom and Waylan. Things are working fine now. Waylan's suggestion didn't have an effect, but after following Malcom's debugging advice I found that while I had remembered to create a link from the httpd DocumentRoot to the project1 directory, I had not created a link to

Re: Deploying multiple sites on one computer using SSL

2007-03-21 Thread Dan Goldner
Hello, As noted previously I'm serving two independent, low-traffic django projects off a single virtual host in order to use SSL without a single certificate. Since I want static files to be SSL'd as well, these are served from the same virtual host. This seems to be working, with one

Re: Deploying multiple sites on one computer using SSL

2007-02-12 Thread Dan Goldner
Thanks Rob! Very very helpful. (And thanks Jeff and Rob for the SSL followup) Much obliged, Dan --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Deploying multiple sites on one computer using SSL

2007-02-12 Thread Dan Goldner
Hello - I'm trying to set up multiple sites on one server using SSL, to give each of several independent projects its own site. Each site will have low-volume traffic and there won't be more than 5-10 up at the same time. My questions are: 1. Do I understand the options (below) correctly? Any

StopIteration exception when using db-api from script

2007-01-14 Thread Dan Goldner
Hello, I'm trying to debug some model functions by setting up a script to use an environment similar to "manage.py shell". I can get a single item from the model from the command line, but when I use the script I get a StopIteration exception. More generally, I'm very new to django and pretty