That helps, thanks.

I don't think it's worth it either, because, ultimately, it'll still be 
"wrong". The right __module__ is wherever you called modelform_factory from.

The perils of meta programming...
On Monday, August 29, 2022 at 11:33:50 AM UTC+2 j.bre...@netzkolchose.de 
wrote:

> Looks to me like being carried forward from the very first metaclass 
> ``MediaDefiningClass``, which happens to be defined in 
> django.forms.widgets.
>
> Should be fixable by explicitly adding a __module__ notion to type().
>
> Not sure though if it is worth additional code just for the sake of 
> pretty __module__ alignment.
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/f92a5960-eb09-4bdc-9788-6e7fc51f56d1n%40googlegroups.com.

Reply via email to