Withdrawn [Was: Is this a bug OR How can I use a custom widget in the Admin for a custom user]

2020-01-05 Thread Mike Dewhirst
On 6/01/2020 4:31 pm, Mike Dewhirst wrote: It appears that formfield_for_manytomany() triggers an error if it is used in UserAdmin. Thanks for any support in deciding if this is a bug - or perhaps all my own work. I needed to finish formfield_for_manytomany() with a return

Is this a bug OR How can I use a custom widget in the Admin for a custom user

2020-01-05 Thread Mike Dewhirst
It appears that formfield_for_manytomany() triggers an error if it is used in UserAdmin. Thanks for any support in deciding if this is a bug - or perhaps all my own work. Cheers Mike TL;DR Here is all the admin code which works without error if formfield_for_manytomany()is commented out