> 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

-- 
Brian Rosner
http://oebfare.com



--~--~---------~--~----~------------~-------~--~----~
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