<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-4684334017670182596.post672871244308843124..comments</id><updated>2010-02-05T13:13:49.801-05:00</updated><category term='Red Hat Enterprise Linux'/><category term='Red Hat'/><category term='logging'/><category term='RHEL'/><category term='tornado'/><category term='gunicorn'/><category term='mysql'/><category term='cloud storage'/><category term='deform'/><category term='RHEL 6'/><category term='xtradb'/><category term='best practices'/><category term='zmanda'/><category term='backups'/><category term='django'/><category term='pylons'/><category term='unladen swallow'/><category term='py3k'/><category term='infrastructure'/><category term='xtrabackup'/><category term='offsite backups'/><category term='python'/><category term='innodb'/><category term='web server'/><category term='local backups'/><category term='mysql-zrm'/><category term='locking'/><category term='colander'/><title type='text'>Comments on VM Farms: Helpful Django View Decorator Pattern</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.vmfarms.com/feeds/672871244308843124/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4684334017670182596/672871244308843124/comments/default'/><link rel='alternate' type='text/html' href='http://blog.vmfarms.com/2010/01/helpful-django-view-decorator-pattern.html'/><author><name>Kris</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4684334017670182596.post-8933803740171050798</id><published>2010-02-05T13:13:49.801-05:00</published><updated>2010-02-05T13:13:49.801-05:00</updated><title type='text'>I&amp;#39;ve been wanting to do this, but attaching th...</title><content type='html'>I&amp;#39;ve been wanting to do this, but attaching the original function to the decorated one, so that the original&amp;#39;s returned context can be tested separately from rendering.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4684334017670182596/672871244308843124/comments/default/8933803740171050798'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4684334017670182596/672871244308843124/comments/default/8933803740171050798'/><link rel='alternate' type='text/html' href='http://blog.vmfarms.com/2010/01/helpful-django-view-decorator-pattern.html?showComment=1265393629801#c8933803740171050798' title=''/><author><name>Calvin Spealman</name><uri>http://www.blogger.com/profile/07161631946662126734</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vmfarms.com/2010/01/helpful-django-view-decorator-pattern.html' ref='tag:blogger.com,1999:blog-4684334017670182596.post-672871244308843124' source='http://www.blogger.com/feeds/4684334017670182596/posts/default/672871244308843124' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1235083113'/></entry><entry><id>tag:blogger.com,1999:blog-4684334017670182596.post-8910160267575927691</id><published>2010-02-01T03:37:20.493-05:00</published><updated>2010-02-01T03:37:20.493-05:00</updated><title type='text'>It&amp;#39;s a pattern that is becoming more common bu...</title><content type='html'>It&amp;#39;s a pattern that is becoming more common but I&amp;#39;m not sure if I like it. While I understand the benefits of re-usability I like to maintain the contract where a view accepts a http request and returns an http response.&lt;br /&gt;&lt;br /&gt;I think a better approach may be to make it easier for us to change/modify the http response objects.&lt;br /&gt;&lt;br /&gt;Your method for providing a body class seems a little odd and I&amp;#39;m not sure its the best approach. I imagine a ID would be better than a class to start with but otherwise it seems like an odd place to change this...&lt;br /&gt;&lt;br /&gt;Why not get the body_class through a context processor? or perhaps a template tag.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4684334017670182596/672871244308843124/comments/default/8910160267575927691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4684334017670182596/672871244308843124/comments/default/8910160267575927691'/><link rel='alternate' type='text/html' href='http://blog.vmfarms.com/2010/01/helpful-django-view-decorator-pattern.html?showComment=1265013440493#c8910160267575927691' title=''/><author><name>Dougal</name><uri>http://www.blogger.com/profile/09183581228040499732</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://blog.vmfarms.com/2010/01/helpful-django-view-decorator-pattern.html' ref='tag:blogger.com,1999:blog-4684334017670182596.post-672871244308843124' source='http://www.blogger.com/feeds/4684334017670182596/posts/default/672871244308843124' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1694405289'/></entry></feed>
