I have a Customer model which contains a ForeignKey to a Contact model.
I have over 100,000 contacts in my DB and when I load the admin page for a specific customer, the dropdown menu for the contact is getting populated with ALL of the contacts in the database. This has recently, due to its shear length, started causing my Firefox to crash while the admin page is loading.
Is there a way to either:
- replace the field with an integer field I can manually modify to the contact ID when necessary
- replace the dropdown menu with some alternative input method which won't crash the browser
- remove this input from the Customer admin page altogether
Thanks!