Try to add default sorting to model:
Meta:
    ordering = ['-date']

On 22 апр, 01:56, Alfonso <[email protected]> wrote:
> I've set up an inline cost price formset and configured the inline
> form with extra = 1 and max num=1 in associated admin.py.
>
> Problem is the inline is displaying the last two entered cost price
> records... not the last one (by date) and an empty inline form for
> adding a new entry which is what I'm looking for ideally.
>
> Any Suggestions
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
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