Calling save_m2m() in UserCreationForm.save()

2022-11-23 Thread Mark Gensler
Hello all! I noticed that when calling contrib.auth.forms.UserCreationForm.save(), self.save_m2m() is not called when commit=True. This caused an issue in one of my projects which uses a custom User model with ManyToMany fields. Is this something that should be changed? I saw in the docs [1] t

Re: InlineAdmin unable to delete object with read only primary key

2022-11-23 Thread Gagan Deep
Hi David! Thanks for double checking my work. Yes, I also see those errors in the admin. I was guessing that those were related to the primary key issue. - Gagan Deep On Tuesday, November 22, 2022 at 12:03:28 PM UTC+5:30 shang.xia...@gmail.com wrote: > Hi Gagan, > > Interesting quirk you'