django-polymorphic icon indicating copy to clipboard operation
django-polymorphic copied to clipboard

The objects which were transmogrified aren't initialized correctly if they implement `__init__` method.

Open bdabrowski opened this issue 1 year ago • 1 comments

When the real_object has a different class from real_class, it gets transmogrified into real_class.

When it implements __init__, it is not called.

https://github.com/jazzband/django-polymorphic/pull/614

bdabrowski avatar Aug 19 '24 14:08 bdabrowski