Improve the UpdateFormMixin to handle the case of creating vs updating
Review Request #9054 — Created July 5, 2017 and submitted — Latest diff uploaded
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/.
Diff Revision 1
This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.
orig
1
2
djblets/webapi/resources/mixins/forms.py |
---|