Simon Willison’s Weblog

Subscribe

1 item tagged “restview”

2008

RestView—a class for creating a view that dispatches based on request.method (via) I finally got around to writing up a simple approach I’ve been using for REST-style view functions in Django that dispatch based on request.method.

# 21st September 2008, 8:47 pm / django, django-snippets, python, rest, restful, restview, views