Hello,
I have somewhat of a strange situation:
Each user has his own calendar and own set of events, and I want the
event categories to be models like Assignment, FieldTrip, Test/Quiz,
etc. I want it like this so that I can make the event on the rendered
calendar a link to the assignment
Hey,
I wrote some middleware to track users, showing the time they were
last seen (see: http://dpaste.com/94701/ ). However, I noticed that
django produces a strange query of 'SELECT (1) AS "a" FROM
"users_userprofile" WHERE "users_userprofile"."id" = 1' whenever it
updates the
On Nov 21, 2008, at 11:46 PM, Malcolm Tredinnick wrote:
>
>
> On Fri, 2008-11-21 at 22:37 -0500, Michael Keselman wrote:
>> Hello,
>>
>> http://pastie.org/private/xvqf5tgjnimiolakhawgg (relevant code)
>>
>> Django's QuerySets all
Hello,
http://pastie.org/private/xvqf5tgjnimiolakhawgg (relevant code)
Django's QuerySets allow you to do ORs (unions) pretty nicely with
Model.manager.filter(Q(...) | Q(...)). However, ANDs don't work quite
as nicely in my situation because I want AND to do what
4 matches
Mail list logo