commit | 56c1286601c29c9233a244632db4b18ef75afcef | [log] [tgz] |
---|---|---|
author | Zack Williams <zdw@cs.arizona.edu> | Mon Jun 27 08:28:55 2016 -0700 |
committer | Zack Williams <zdw@cs.arizona.edu> | Mon Jun 27 08:28:55 2016 -0700 |
tree | 4198e4907692932bc91adc9731c32faec571962c | |
parent | af2a56e9b4f2591928dee6d94f7975b8fdcbacfb [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: I3cba9ab7f3e37e481d55d36ded1ee4ddb8c3ecf0