Hi Elton,

>From what I understand the line you pointed at doesn't delete the model 
`Meta`
attribute but the `_meta.meta` attribute which makes it possible for 
`Bar.Meta`
to subclass `Foo.Meta` even if `Foo.Meta.abstract is not True`.

Simon

Le lundi 18 janvier 2016 12:34:29 UTC-5, Elton Pereira de Lima a écrit :
>
> Hello charettes!
>
> Analyzing the code further, I saw that it was impossible for the Bar Meta 
> class inherits from Foo.Meta because when this code 
> <https://github.com/django/django/blob/master/django/db/models/base.py#L108> 
> is executed, the Meta class ceases to exist because of this line 
> <https://github.com/django/django/blob/master/django/db/models/options.py#L212>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To post to this group, send email to django-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/ecab49d8-7b78-45ed-b5eb-fc378792058b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to