http://docs.djangoproject.com/en/dev/ref/contrib/admin/#list-per-page
Set the above to the number of items you would like to appear per
page. The default is 100, so set it it to something more manageable.

http://docs.djangoproject.com/en/dev/ref/contrib/admin/#ordering
Set that to a DateField or DateTimeField. If you want the newest to
appear on the top of the page, assuming your DT field was
'date_published' for the model, simply set it as the following:
ordering = ('-date_published',)

http://docs.djangoproject.com/en/dev/ref/contrib/admin/#search-fields
Set that to the respective fields you wish to search, but like Jacob
said, it will likely take awhile. Read that entire section for some
tips on improving search speed.

Hope that helps. :)

On Feb 17, 1:15 pm, mermer <merme...@googlemail.com> wrote:
> Does anybody have any advise on how best to customize the Admin to
> cope with large data sets.
>
> We need to deal with 500K plus records - and the loading times are
> just too slow.
>
> Is it possible to show a limited number of recently added records ffor
> a model, but then use the search facility in athe dmin to look for any
> record in the table.   Can someone give me some pointers on what we
> would need to do to implement this type of change.
>
> Thanks
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to