('-application__creation_date__max').select_related()
but that raises
FieldError: Invalid field name: 'userprofile__ird_number'
Greg
On 16 February 2010 10:13, Dj Gilcrease <digitalx...@gmail.com> wrote:
> On Mon, Feb 15, 2010 at 1:43 PM, Greg Brown <gregplaysgui...@gmail.com> wrote:
>> The querys
Ok, here goes:
First, some background - UserProfile is the
settings.AUTH_PROFILE_MODULE and the Application model has a
ForeignKey to User. There's ~90,000 users/userprofiles, ~110,000
applications (most have only one application, some have 2). The
database is mysql. If that's not enough info,
What you need is to keep your Education model as is (with no Lawyer
Foreignkey) and add a ManyToManyField on your Lawyer class pointing to
Education. Then you can go
Lawyer.objects.filter(education__school='...')
I think that will solve your problem
Greg
2009/11/9 Zeynel
Hi Diego,
Thanks for your suggestion - I had looked in the logs but not hard
enough it would seem!
I think I've tracked the problem down... for some reason my models.py
files sometimes can't complete an import (this was in the logs, I have
no idea why it fails however) and because of this, the
Cheers for the feedback folks. Just to be clear, my app doesn't handle
code repositories or bug tracking at all - it's very much a one-user
system at the moment. I actually just run it on my Macbook in a
terminal (applescripted on startup). It's somewhat similar to basecamp
I guess, albeit much
5 matches
Mail list logo