I thought I had understood this, but I guess not...

I've got a simple multi-user blog setup, where blog entries might have
a future publish date, or be marked "don't publish", in which case I
don't want them coming out on the site. I've done this by replacing
the 'objects' manager with a custom manager that defines an open()
method, so I can call Entry.objects.open(). This much is pretty
simple.

For a bit there I had thought that would work with the FOO_set manager
for authors, so I could do author.entry_set.open() and get all open
entries for a certain author. Instead, that produces all open entries
for all authors.

Is this possible, or should I just add a layer of filtering? And can
someone tell me where in the source code all this is going on? I tried
tracing the progress of the query set manager myself, to very little
avail.

Thanks,
Eric
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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