{"id":208,"date":"2011-04-26T11:41:31","date_gmt":"2011-04-26T15:41:31","guid":{"rendered":"http:\/\/dashdrum.com\/blog\/?p=208"},"modified":"2011-04-26T11:43:39","modified_gmt":"2011-04-26T15:43:39","slug":"custom-renderer-for-django","status":"publish","type":"post","link":"https:\/\/dashdrum.com\/blog\/2011\/04\/custom-renderer-for-django\/","title":{"rendered":"Custom Renderer for Django"},"content":{"rendered":"<p><a href=\"http:\/\/kwmonster.blogspot.com\/2010\/07\/drawing-of-guy-who-is-really-proud.html\"><img decoding=\"async\" alt=\"Proudy\" src=\"http:\/\/4.bp.blogspot.com\/_kHpAP39uhMw\/TD6CVMPfWfI\/AAAAAAAACHg\/5wTUa9ciE5k\/s1600\/proud+guy.jpg\" title=\"Proudy\" align=\"right\" width=\"200\"  \/><\/a>Today I wrote a custom renderer for a radio button field.  What I wanted to do was render the control as a table, and expand the label to multiple columns.  Took me a long time and much research to figure this out.<\/p>\n<p>Rather than post my custom work, I&#8217;m going to work on a generic version &#8211; sort of an .as_table option &#8211; and post that when it is ready.<\/p>\n<p>Still, had to mention it here because I&#8217;m pretty darned proud of myself.  \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today I wrote a custom renderer for a radio button field. What I wanted to do was render the control as a table, and expand the label to multiple columns. Took me a long time and much research to figure this out. Rather than post my custom work, I&#8217;m going to work on a generic &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/dashdrum.com\/blog\/2011\/04\/custom-renderer-for-django\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Custom Renderer for Django&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-208","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/posts\/208","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/comments?post=208"}],"version-history":[{"count":2,"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/posts\/208\/revisions"}],"predecessor-version":[{"id":210,"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/posts\/208\/revisions\/210"}],"wp:attachment":[{"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/media?parent=208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/categories?post=208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dashdrum.com\/blog\/wp-json\/wp\/v2\/tags?post=208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}