On Fri, 2009-04-10 at 05:41 -0700, AndyB wrote:
> Hi,
> 
> I've got a model called Courses and a model that inherits from it
> called SpecialCourses that has some extra fields.
> 
> It seems that any SpecialCourses I add also show up in the changelist
> for Courses which will be confusing for content editors ("remember to
> edit them under SpecialCourses or you won't see the extra fields").
> 
> I could override the default ModelAdmin queryset for Courses and
> filter out any that also have an associated SpecialCourse.
> 
> Is this the best approach or have I overcomplicated things?

I think that -- filtering them out in the admin queryset -- sounds like
the correct approach if that's the way you want to model things. Should
be fairly straightforwards.

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
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