On 29/10/10 11:06, Carles Barrobés wrote:
Your "place" object will contain an attribute called "restaurant" to
access
the object as an instance of the subclass.
If this place object is an instance of another place subclass,
accessing the
restaurant attribute will raise a DoesNotExist error.
Carles.
That's correct, but I want to take a 'Place' object, that doesn't have a
'restaurant', and turn it *in to* a 'Restaurant' by adding the
corresponding row to the Restaurant table.
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to django-us...@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.