Changes between Initial Version and Version 1 of Ticket #21699, comment 6


Ignore:
Timestamp:
Dec 30, 2013, 5:28:53 AM (11 years ago)
Author:
Mitar

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21699, comment 6

    initial v1  
    11I am just copying from #21698, to make things more clear here. So my comment how I see that unregistering could help:
    22> So there are two ways to allow making custom subclasses of models which should not be registered. One is to somehow allow some configuration in Meta (#21682), another is to call current metaclass which adds it, but be able to remove it from registry immediately afterwards (a bad side-effect is that registration signal has been already made).
    3 
     3----
    44I didn't know about "no-op subclass" approach. This seems interesting idea.
    55
Back to Top