tomchristie/django-rest-framework — pull request #157 by mammique (2012-02-10 11:15:34+00:00)
Title: Resource's get_bound_form() populates instance's form on GET

Simplified the argument's logic when ```.get_bound_form()``` returns the new ```Form``` by building a ```**form_kwargs``` dict, as ```Form``` accepts ```file``` or ```data``` arguments set to ```None``` by default: https://code.djangoproject.com/browser/django/trunk/django/forms/forms.py#L75

Declare model's instance in the ```Form``` if present, and not only if ``data``` or ```file``` are declared, then the form is populated with the instance's data on GET, much more convenient when editing, IMHO.