Django:Map urls to class like in web.py <p>i am learning django but gave web.py a try first. while reading django's documentation i found that in i need to check for the request type in each method.. like:</p> <pre><code>def myview(): if request.method == "POST": #blah balh #ke$ha (jst kiddn) else: #(balh)x2 </code></pre> <p>can the web.py type classes be implemented in django like</p> <pre><code>class myView(): def GET(self): #cool def POST(self): #double cool </code></pre> <p>it would be super cool</p>