Thanks for your reply, Peter. When I set live = BadManager(), it
properly returns posts, so maybe the issue is with my
LiveEntryManager:

class LiveEntryManager(models.Manager):
    def get_query_set(self):
        return super(LiveEntryManager,self).get_query_set().filter
(status=self.model.LIVE_STATUS)

As for your other suggestions:
1. I haven't set list_display or list_filter for this model.
2. I don't seem to have imported another "models"

Live is my default manager because it filters down to published posts.
I like your method of adding a "published" method, thus keeping
objects intact. However, I was following a tutorial for writing custom
templatetags to fetch objects for any installed model:

http://www.b-list.org/weblog/2006/jun/07/django-tips-write-better-template-tags/

For the templatetag to filter down to published Entries, I need to
have 'live' as the default manager.
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to