commit | 3026c520046a4a90fd2d0b99bcc98d7c3bdd6a07 | [log] [tgz] |
---|---|---|
author | Zack Williams <zdw@cs.arizona.edu> | Mon Jun 27 08:30:53 2016 -0700 |
committer | Zack Williams <zdw@cs.arizona.edu> | Mon Jun 27 08:30:53 2016 -0700 |
tree | 1ab69c0100540455aa24b885e700b0feb47b11e2 | |
parent | 4a503b1b222a52d13b9380fbca398d1ef6ac3cf9 [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: I68dd6b8c67a1590f18d4924512319bb32272aa5a