Requestcontext
django-reroute is a set of tools for simplifying your views, especially when you're implementing a REST API. django-reroute provides a drop-in replacement for django.conf.urls.defaults that supports HTTP verb dispatch so that your views don't become cluttered with if request.method == 'GET'...
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (39): django-reroute Download |
This technique has been desribed by Adrian Holovaty in this blog post and previously by Honza Kral. The idea is to first render the template with certain blocks denoted as "phased," such that they will not be rendered, and will remain valid template code that can be rendered with a second pass....
Platforms: *nix
License: Freeware | Size: 10.24 KB | Download (32): django-phased Download |