Improve the UpdateFormMixin to handle the case of creating vs updating

Review Request #9054 — Created July 5, 2017 and submitted — Latest diff uploaded

Information

Djblets
release-0.10.x

Reviewers

The mixin now accepts a add_form_class attribute which will be used to
determine the form class for creating a model instance.

Tested with /r/9056/.