Alternate User select interface in django admin to reduce page size on large site?

Posted by David Eyk on Stack Overflow See other posts from Stack Overflow or by David Eyk
Published on 2010-05-14T19:33:16Z Indexed on 2010/05/14 21:24 UTC
Read the original article Hit count: 243

I have a Django-based site with roughly 300,000 User objects. Admin pages for objects with a ForeignKey field to User take a very long time to load as the resulting form is about 6MB in size. Of course, the resulting dropdown isn't particularly useful, either.

Are there any off-the-shelf replacements for handling this case? I've been googling for a snippet or a blog entry, but haven't found anything yet. I'd like to have a smaller download size and a more usable interface.

© Stack Overflow or respective owner

Related posts about django

Related posts about django-admin