I am building a website for a garage to put their cars etc. on.  Said
garage also specialises in second hand vans and on occation trucks, I'd
like to know how I can represent the slightly different forms of data
using django, given that the inheritance is a work in progress and how
I can then display said data in slightly different ways.

As you can see inheritance would be very very useful for this purpose -
so maybe I can work on that?  Even if I got that done it would be nice
if I could automatically select a slightly different template based on
the subclass of Vehicle.

I will say the way I'd be doing the inheritance more simply than is
suggested on the wiki with one sparse table representing the whole
inheritance hierarchy.

See here: http://code.djangoproject.com/wiki/ModelInheritance

Thanks all,

Andy.


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

Reply via email to