Closed mschoettle closed 1 month ago
Good start, now let's fix CI :)
You might be interested in this thread: https://github.com/lazybird/django-solo/pull/128#discussion_r1451790020, where I proposed a (verbose) solution.
Merged it! Thanks for your contribution!
Thanks a lot for fixing the last issues and merging it!
BaseModelAdmin
andModelAdmin
are generic:https://github.com/typeddjango/django-stubs/blob/496190e1b5dc344980d8f6ee81ff5dcecc05ded9/django-stubs/contrib/admin/options.pyi#L88
https://github.com/typeddjango/django-stubs/blob/496190e1b5dc344980d8f6ee81ff5dcecc05ded9/django-stubs/contrib/admin/options.pyi#L145
This PR makes the translation admin classes generic as well.