commit | c631890bbe38a05b4f85dbdd3f8fc938fe459678 | [log] [tgz] |
---|---|---|
author | Zack Williams <zdw@cs.arizona.edu> | Mon Jun 27 08:21:19 2016 -0700 |
committer | Zack Williams <zdw@cs.arizona.edu> | Mon Jun 27 08:21:19 2016 -0700 |
tree | 04908d73a44f1860baac47528c50ee06150aa417 | |
parent | f8f7711a0292f9fe7ce1f12f8df66b43404b54ce [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: Ie42c94c436dc06e15629b5ed289973c631d6bdf3