diff --git a/django/contrib/admin/options.py b/django/contrib/admin/options.py
index ed41c7f..99b7323 100644
a
|
b
|
class BaseModelAdmin(object):
|
105 | 105 | |
106 | 106 | # If we've got overrides for the formfield defined, use 'em. **kwargs |
107 | 107 | # passed to formfield_for_dbfield override the defaults. |
108 | | if db_field.__class__ in self.formfield_overrides: |
109 | | kwargs = dict(self.formfield_overrides[db_field.__class__], **kwargs) |
110 | | return db_field.formfield(**kwargs) |
| 108 | for klass in db_field.__class__.mro(): |
| 109 | if klass in self.formfield_overrides: |
| 110 | kwargs = dict(self.formfield_overrides[klass], **kwargs) |
| 111 | return db_field.formfield(**kwargs) |
111 | 112 | |
112 | 113 | # For any other type of field, just call its formfield() method. |
113 | 114 | return db_field.formfield(**kwargs) |