Browse Source

Define fields variable to __all__ in forms to remove Django 1.8 depreciation

Fabs 10 years ago
parent
commit
a02eda0b6e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      coin/configuration/forms.py

+ 1 - 0
coin/configuration/forms.py

@@ -11,6 +11,7 @@ class ConfigurationForm(ModelForm):
 
     class Meta:
         model = Configuration
+        fields = '__all__'
 
     def __init__(self, *args, **kwargs):
         """