I'm just staring to explore admin actions. I'm surprised to see that you have to set the description by doing:
my_action_function.short_description = "blah"
wouldn't it be cleaner to just declare a doc string for the action function and have short_description grabbed from there?
--
Roy Smith
roy@panix.com
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment