Hello everyone, Here are my models:
class Seminar(models.Model): title = models.CharField(max_length=255) display = models.BooleanField() def __unicode__(self): return self.title class Admin: ordering = ['title'] search_fields = ('title',) class Meta: verbose_name_plural = 'Seminars' class Occurence(models.Model): seminar = models.ForeignKey(Seminar) # <-- the foreign key date = models.DateField() start_time = models.TimeField('Start Time', help_text='(example: 06:00:00 = 6 AM)') end_time = models.TimeField('End Time') price = models.CharField(max_length=50, help_text='Do not enter dollar sign') location_name = models.CharField('Location', max_length=100) address1 = models.CharField('Address', max_length=50) address2 = models.CharField('Address (cont)', max_length=50, blank=True) city = models.CharField(max_length=50) state = models.USStateField(help_text='(example: OK)') zip = models.CharField(max_length=5) mapquest_link = models.URLField('Mapquest Link', blank=True, help_text='Enter the full URL here, including: http://') comments = models.TextField('Comments / Special Instructions', blank=True) def __unicode__(self): return u'%s - %s' % (self.seminar, self.date) class Admin: ordering = ['date'] list_filter = ('seminar','location_name','city','state','zip','start_time','end_time') # <-- foreign key included in filter date_hierarchy = 'date' search_fields = ('seminar','location_name','city','state','zip') class Meta: verbose_name_plural = 'Seminar Occurences' When I display the list view for Occurrences, the "Seminar" is not in the list of filters in the right sidebar. Can someone see what I am doing wrong? Thanks, Brandon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---