Ticket #22740: #22740-abstract_concrete_multitable.diff

File #22740-abstract_concrete_multitable.diff, 398 bytes (added by German M. Bravo, 10 years ago)
  • django/db/models/base.py

    diff --git a/django/db/models/base.py b/django/db/models/base.py
    index f6001b4..9d0127b 100644
    a b class ModelBase(type):  
    240240            new_class.Meta = attr_meta
    241241            return new_class
    242242
     243        new_class.Meta = None
    243244        new_class._prepare()
    244245        register_models(new_class._meta.app_label, new_class)
    245246
Back to Top