commit | edbf95f03bac05bd3ddd203c7c5d100b094d9cc8 | [log] [tgz] |
---|---|---|
author | Zack Williams <zdw@cs.arizona.edu> | Mon Jun 27 08:31:44 2016 -0700 |
committer | Zack Williams <zdw@cs.arizona.edu> | Mon Jun 27 08:31:44 2016 -0700 |
tree | 8b5d9dab4a42a4bc61a46c6b8a1b3fc069995687 | |
parent | 36d9b74b5189b5d26d084c0b8c6510ef675202e9 [diff] |
Django 1.8 fails with an ImproperlyConfigured exception when `fields` or `exclude` isn't set: ``` class Meta: fields = '__all__' ``` on all descendents of ModelForm. Omitting this is deprecated in 1.7: https://docs.djangoproject.com/en/1.7/topics/forms/modelforms/#selecting-the-fields-to-use Change-Id: I639691b2d5471c384be8fe994725fc2a2d960012