djangosnippets.org: Latest snippets tagged with 'callables'https://djangosnippets.org/tags/callables/2011-05-26T11:51:24.085847-05:00Callable short_description (or other Meaningful Method Attributes)
2011-05-26T11:51:24.085847-05:00eternicodehttps://djangosnippets.org/snippets/2447/<p>The django admin (as of 1.3) doesn't allow for short_description (and other ModelAdmin function attributes) to be a callable. Until that happens, this handy snippet allows you to return dynamic descriptions.</p>
<p>Note, I haven't actually tested this yet -- but I plan to when I have the free time.</p>
Freely redistributable