I have a model as in the following
class TestModel(models.Model):
...
product = models.ForeignKey(...)
vendor = models.ForeignKey(...)
...
The problem is when I go to django admin change page
testmodel/3/change.
It gives me errors.
Sentry gives me more details and it says KeyError: 'product'
or sometimes KeyError: 'vendor'
How can I figure out what causes this issue?