djangosnippets.org: Latest snippets posted by panyamhttps://djangosnippets.org/users/panyam/2009-06-22T07:22:12.885498-05:00panyamUsing class methods as views
2009-06-22T07:22:12.885498-05:00panyamhttps://djangosnippets.org/snippets/1585/<p>This set of handlers allow one to isolate requests based on the method posted. Normally, in a view, we would do checks for request.method value and update the resource accordingly. This makes the view code pretty messy.</p>
<p>So one way to avoid these check each time is to have a …</p>
Freely redistributable