On Fri, Jul 4, 2008 at 6:52 PM, Greg Taylor <[EMAIL PROTECTED]> wrote:
> > So I've got a Multi-Table parent model, CalendarEvent, and two child > models: Regatta and Meeting. > > I've got a calendar view that shows all of the upcoming events like > this: > events = CalendarEvent.objects.all() > > But I want to determine what kind of event each of these are (Regatta > or Meeting) from the object's CalendarEvent instance. I could've sworn > I found some good way to do this, but have completely forgotten. I'd > really hate to have to make a field to set the event type in, it seems > counter to the entire idea. > This issue was recently discussed in this thread: http://groups.google.com/group/django-users/browse_thread/thread/d4f4a2954d12d79e/615a88094b67a84f Karen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---