Remove Admin's swallowing of AttributeError (#16655, #18593, #18747)

During the new-admin changes, catching of AttributeError was added to
the admin.  This patch removes that as it's no longer possible to add a
value to a ModelAdmin that is not available.  Adding an attribute that
can not be called causes an ImproperlyConfigured exception to be raised.
This commit is contained in:
Travis Swicegood 2012-09-08 11:18:08 -04:00
parent e69348b4e7
commit ccd1bb0d81
5 changed files with 37 additions and 4 deletions

View file

@ -49,3 +49,4 @@ site.register(models.Fabric, base_admin.FabricAdmin)
site.register(models.ChapterXtra1, base_admin.ChapterXtra1Admin)
site.register(User, UserLimitedAdmin)
site.register(models.UndeletableObject, base_admin.UndeletableObjectAdmin)
site.register(models.Simple, base_admin.AttributeErrorRaisingAdmin)