I need Help with this QuerySet !!!!!!!

FooTable.objects.filter(endzeit__lte
=convertFirstDayOfWeekToDatetime).exclude(user__user_permissions__codename='bla')

I this error:
---------------------------------------------------------
no such column: auth_user.id

Request Method:         POST
Request URL:    http://10.20.137.34:8000/sarbs/bookroom/
Exception Type:         OperationalError
Exception Value:

no such column: auth_user.id

Exception Location:     /usr/lib/python2.5/site-packages/django/db/
backends/sqlite3/base.py in execute, line 167
Python Executable:      /usr/bin/python
Python Version:         2.5.2
----------------------------------------

but it still works if i only use

FooTable.objects.exclude(user__user_permissions__codename='bla')

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to