Я надеюсь делать это: класс Место (модели. Модель): назовите = модели. CharField (max_length=20) оценивающий = модели. DecimalField () класс LongNamedRestaurant (Место): Разделение на подклассы # 'Место'. имя =...
Is there a way to determine what the 'real' class of a Django database object is, after it has been returned from a query for on a base class? For instance, if I have these models... class Animal(...