On Tue, 2007-02-13 at 03:46 +0000, damacy wrote:
> hi, there.
> 
> i have two tables in the database; TEAMS and PLAYERS.
> and in my model.py, i have specified min_num_in_admin = 4,
> num_extra_on_change = 4,
> so that there always exist 4 blank players.
> 
> the problem is that there are 4 blank players when modifying an
> 'existing' team (as expected),
> however, there are only 3 blank players (not 4 as specified above)
> when i try to add a new team.
> 
> why is it showing only 3, not 4, players when adding a new team?
> and it works as expected when modifying an already existing team?
> 
> very strange to me. has anyone got a clue on this?

I have a feeling you may have tripped over the problem mentioned in
ticket #3394: Django uses the num_in_admin setting (which defaults to 3)
when creating a new object, rather than min_num_in_admin.

That ticket has been fixed in changeset [4500] (about two minutes ago).

Regards,
Malcolm



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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