diff options
| author | Tim Graham <timograham@gmail.com> | 2017-09-14 08:24:03 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-09-14 08:24:03 -0400 |
| commit | ede1ba6b8e0af303dad7f38c17fab681fc822a05 (patch) | |
| tree | f2f1b9e2dd58004b84dec6b50630c6697bf79866 /accounts | |
| parent | 0bdc1e9dbf4337f833d35c472fb2c60280b94ec0 (diff) | |
Removed inheritance of object to define new style classes.
Diffstat (limited to 'accounts')
| -rw-r--r-- | accounts/forms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/forms.py b/accounts/forms.py index 11d8404e..f773d404 100644 --- a/accounts/forms.py +++ b/accounts/forms.py @@ -19,7 +19,7 @@ class ProfileForm(forms.ModelForm): widget=forms.TextInput(attrs={'placeholder': 'Email'}) ) - class Meta(object): + class Meta: model = Profile fields = ['name'] |
