tomchristie/django-rest-framework — pull request #254 by alecperkins (2012-09-08 15:51:06+00:00)
Title: Bootstrapification of the browsable API

I converted the browsable API template for the HTML format to use Bootstrap.

It looks like this now:

![](http://skitch.droptype.com/Screen-Shot-2012-09-08-at-11.09.42-AM-20120908-113744.jpg)

The additional formats are still disabled (commented out in template), since their forms don't work properly yet.

A new issue is that Bootstrap requires HTML5 as the doctype, so the XHTML format no longer works. It could just have the old template, with the admin-like styles and structure. Also, there are now multiple copies of Bootstrap and jQuery in the project, for the docs and for the browsable API. It may be worth reconciling this, perhaps with something like [django-bootstrap-toolkit](https://github.com/dyve/django-bootstrap-toolkit).