Closed mauler closed 6 years ago
Hi! Thanks for providing this pull request! It doesn't seem to be compatible with another change in master, where the to
field also handles string values (e.g. "auth.User"). Could you look into this?
The Django version check can also be done using if django.VERSION >= (2, 0)
which might be a bit cleaner.
I've merged your changes manually in 6525fb014f88d7eefe0ac1a00c0d19a0ea3a55c8 and added the first test case. Thanks for reaching out!
The code isn't optimal, we needs tests and other stuff.