I have a class called Entry that has a one-to-many relationship with
itself like:

class Entry(models.Model):
    title = models.CharField(max_length=255)
    body = models.TextField()
    author = models.ForeignKey(User)
    date_published = models.DateTimeField()
    parent = models.ForeignKey('self',null=True,blank=True)

When I go to the Admin page, I would like to exclude Entries that have
a parent set, I.E. Entries that have parents should not show up in the
list.  I have read through the Admin pages and the Meta pages several
times, and nothing has jumped out at me on how to do this.  Its
probably there, it just didn't register.

Can someone please lend me a hand and point me in the correct location?
--~--~---------~--~----~------------~-------~--~----~
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