<p>Avoid the overhead of having the default <code><select></code> in Django Admin with all the related instances (ForeignKey or ManyToMany) just listing them in <code>ModelAdmin.raw_id_fields</code>. I've just done it and my admin change pages are being loaded up to 10x faster, avoiding a lot of request timed out error.</p>
By clicking “Accept all”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage and assist in our marketing efforts. Check our privacy policies.