Ticket #5863: list_display_test.patch
File list_display_test.patch, 591 bytes (added by , 16 years ago) |
---|
-
tests/regressiontests/modeladmin/models.py
572 572 ... list_display = ('name',) 573 573 >>> validate(ValidationTestModelAdmin, ValidationTestModel) 574 574 575 >>> class ValidationTestModelAdmin(ModelAdmin): 576 ... list_display = ('band__name',) 577 >>> validate(ValidationTestModelAdmin, ValidationTestModel) 578 575 579 # list_display_links 576 580 577 581 >>> class ValidationTestModelAdmin(ModelAdmin):