'Regression test for #14695: explicitly defined field name overwritten
by model\'s attribute name.'

def test_field_name(self):

    instance = RenamedField()
    self.assertTrue(hasattr(instance, u'get_fieldname_display'))
    self.assertFalse(hasattr(instance, u'get_modelname_display'))
