summaryrefslogtreecommitdiff
path: root/pgweb/downloads/admin.py
diff options
context:
space:
mode:
authorMagnus Hagander2016-04-28 09:33:08 +0000
committerMagnus Hagander2016-05-14 17:49:12 +0000
commitcd780de8b60e9fb32b904b91706d9e44b309e4ac (patch)
tree6a2069240d81a130413b95a6497a7e3920adc46a /pgweb/downloads/admin.py
parent350b936e5894b0991c3bc6deb48104449c72a11c (diff)
Forms must now always specify include or exclude fields
So for those forms that should have everything in them (and we don't have a lot of those), set exclude=() to remove the error.
Diffstat (limited to 'pgweb/downloads/admin.py')
-rw-r--r--pgweb/downloads/admin.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pgweb/downloads/admin.py b/pgweb/downloads/admin.py
index fdc62531..fcee1d27 100644
--- a/pgweb/downloads/admin.py
+++ b/pgweb/downloads/admin.py
@@ -33,6 +33,7 @@ duplicate_stackbuilderapp.short_description = "Duplicate application"
class StackBuilderAppAdminForm(forms.ModelForm):
class Meta:
model = StackBuilderApp
+ exclude = ()
def clean_textid(self):
if not re.match('^[a-z0-9_]*$', self.cleaned_data['textid']):