Changes between Initial Version and Version 1 of Ticket #5863, comment 35


Ignore:
Timestamp:
May 17, 2011, 5:11:40 AM (13 years ago)
Author:
Jannis Leidel

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5863, comment 35

    initial v1  
    442. Write a wrapper like @lukeplant suggested (even though it is far superior solution to individual functions in every model)
    55
    6 are all HUGE violation of DRY principles on which sensible programming is based toady. Since the parent__child syntax is being used for list filter, search fields and everywhere else, why is the list_display so sacrosanct?
     6are all HUGE violation of DRY principles on which sensible programming is based toady. Since the `parent__child` syntax is being used for list filter, search fields and everywhere else, why is the list_display so sacrosanct?
    77
    88E.g. once a model field already has an attribute like verbose_name defined...why should a function or a wrapper function have to define it again. It is not feasible to copy that definition in the case of the wrapper.
Back to Top