Hi all,
I have tons of objects referenced by ForeignKey in Django Admin module UI, and I would like to replace it with something more optimal, e.g. auto-fill input box or something.
My model looks something like this:
class SoapCall(models.Model):
customer = models.ForeignKey(Customer, null=True, blank=True)
created = models.DateTimeField(default=now)
wsdl = models.CharField(max_length=255)
func = models.CharField(max_length=63)
request = models.TextField()
response = models.TextField()
Now, this works great, but if I have 100000 Customer objects it's not very nice to generate one huge <select><option>... element for every page load.
There seems to be many possible plugins/implementations for this, but I was just wondering if anyone would have up-to-date recommendations in this mailing list. I'm on Python 3.4.2 and Django 1.7.4.
Thanks beforehand. :)
Br,
Jani
P.S. <3 Django