How to properly use limit_choices_to on self-joins

2009-03-19 Thread Laran Evans
I have a Company class. A Company has many Clients, each of which is also a Company. The problem I have is that in the auto-generated Admin site, the Clients show up as a multi-select with the Company in the select box. This doesn't make sense, because a company can't select itself as a client. S

Re: How to properly use limit_choices_to on self-joins

2009-03-20 Thread Laran Evans
Bump. Anyone? Is this so easy that nobody's challenged to answer it? Or is this something weird that I'm doing? - laran On Mar 19, 1:20 pm, Laran Evans wrote: > I have a Company class. A Company has many Clients, each of which is > also a Company. The problem I have is

Django with mod_wsgi troubles

2009-06-24 Thread Laran Evans
I've tried a bunch of different approaches going back and forth between mod_python and mod_wsgi. I can't get past this one error: NoSectionError at / No section: 'formatters' Request Method: GET Request URL:http://localhost:1/ Exception Type: NoSectionError Exception Val