Django model inheritance: Create a subclass using existing super class
Multi-table inheritance is just OneToOneField
relation between Place and Restaurant.
place = Place.objects.get(id=1) # Create a restaurant using existing Place restaurant = Resturant(place_ptr=place)restaurant.save()
place = Place.objects.get(id=1)# Create a restaurant using existing Placeplace.__class__ = Restaurantplace.save()restaurant = place