#14006: Documentation on Field's 'description' class attribute does not mention that it will be interpolated with field.__dict__ ---------------------------+------------------------------------------------ Reporter: abeld | Owner: nobody Status: new | Milestone: Component: Documentation | Version: 1.2 Keywords: | Stage: Unreviewed Has_patch: 0 | ---------------------------+------------------------------------------------ The "Documenting your Custom Field" section in the "Writing custom model fields" page (http://docs.djangoproject.com/en/1.2/howto/custom-model-fields/) does not mention that this string will be string-interpolated with fields.__dict__ (in the get_readable_field_data_type() function in django.contrib.admindocs.views ) and thus can (and should, if appropriate, since it really increases the usability of the admin docs) contain stuff like %(some_attribute)s, and the example presented doesn't show this feature, either.
-- Ticket URL: <http://code.djangoproject.com/ticket/14006> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.