Re: Django inline admin max_num, extra not working

2011-10-28 Thread Jose
Hi Tom, Thanks for your reply. Yes I want to have just one user profile. And yes I have tried both OneToOne field and ForeignKey with unique=True but it makes no difference in both cases I have this problem Regards, José On Oct 28, 11:41 am, Tom Evans wrote: > On Fri, Oct 28, 2011 at 9:47 AM

Re: Django inline admin max_num, extra not working

2011-10-28 Thread Tom Evans
On Fri, Oct 28, 2011 at 9:47 AM, Jose wrote: > I have extended the User model as explained here and in many other > sites. > > However, when defining the User Profile Inline in admin.py, no matter > what values I use for max_num or extra, in the admin site it will > always show one inline for the

Django inline admin max_num, extra not working

2011-10-28 Thread Jose
I have extended the User model as explained here and in many other sites. However, when defining the User Profile Inline in admin.py, no matter what values I use for max_num or extra, in the admin site it will always show one inline for the user profile I have already created and another blank one