Ticket #5863: list_display_test.patch

File list_display_test.patch, 591 bytes (added by crippledcanary@…, 16 years ago)

patch to regressiontests.modeladmin with a test that I would like to work

  • tests/regressiontests/modeladmin/models.py

     
    572572...     list_display = ('name',)
    573573>>> validate(ValidationTestModelAdmin, ValidationTestModel)
    574574
     575>>> class ValidationTestModelAdmin(ModelAdmin):
     576...     list_display = ('band__name',)
     577>>> validate(ValidationTestModelAdmin, ValidationTestModel)
     578
    575579# list_display_links
    576580
    577581>>> class ValidationTestModelAdmin(ModelAdmin):
Back to Top