Add Meta.fields to all ModelForm instances.
Review Request #8692 — Created Jan. 31, 2017 and submitted
A new change in Django 1.8 requires
ModelForms to define eitherfieldsor
excludes. This change addsfieldsto all ModelForms that need it.
- Ran unit tests.
- Tested adding a new repository.
| Description | From | Last Updated |
|---|---|---|
|
Where did this requirement come up? The documentation doesn't state these are required, just suggested. |
|
Tool: Pyflakes Processed Files: reviewboard/reviews/forms.py reviewboard/notifications/forms.py reviewboard/scmtools/forms.py Tool: PEP8 Style Checker Processed Files: reviewboard/reviews/forms.py reviewboard/notifications/forms.py reviewboard/scmtools/forms.py