Hello,
Hope someone can explain to me what is happening here?
I have this models:
*class InfrastructureBaseModel(models.Model):*
* class Meta:*
* abstract = True*
* app_label = 'infrastructure'*
*
*
*class ConsumerClasifications(InfrastructureBaseModel):*
* product_environment = models.ForeignKey('ProductEnvironments')*
* consumer = models.ForeignKey('Consumers')*
* class Meta(InfrastructureBaseModel.Meta):*
* db_table = 'consumer_clasifications'*
*
*
I'm trying to instrospect this classes using inspect:
*from models import *
*
*import inspect
*
*inspect.getmembers(InfrastructureBaseModel.Meta)
*
*
*
*[('__doc__', None), ('__module__', 'models'), ('abstract', False),
('app_label', u'infrastructure')]*
Why am I getting False when inspecting, if the class has True on the
abstract field? Maybe this is not the right forum, but any help is
appreciated.
Thank you
-- Roberto
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.