Hey guys,

Thanks for the replies.  Part of the issue I was having is I had the extras keyword in the wrong subclass (I had it in the options class for my model, instead of the inline class).  It appears the functionality is working as it should be for now...

Cheers,
Aaron

Brian Rosner wrote:
I am using newforms admin and have a custom UserProfile model set in my
inlines for my User, is there a way to limit the UserProfile to 1 for
the User?  Right now it's trying to offer 4 profiles for the user, and
'extras=1' doesn't seem to affect how many are displayed (I don't want
extras anyway, I just want 1).
    

This is a known issue with newforms-admin. See [1] for more details and 
a patch (I have not looked at the patch, but should soon). For the 
record, the keyword argument to inline_formset is not "extras". It 
should be "extra" without the "s".

[1]: http://code.djangoproject.com/ticket/6075

  

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to