Skip to content

Commit

Permalink
Don't list ssl_status in forms
Browse files Browse the repository at this point in the history
  • Loading branch information
stsewd committed Sep 8, 2020
1 parent 7a242f2 commit d5e4159
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions readthedocs/projects/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -606,15 +606,7 @@ class DomainBaseForm(forms.ModelForm):

class Meta:
model = Domain
# pylint: disable=modelform-uses-exclude
exclude = [
'machine',
'cname',
'count',
'hsts_max_age',
'hsts_include_subdomains',
'hsts_preload',
]
fields = ['domain', 'canonical', 'https']

def __init__(self, *args, **kwargs):
self.project = kwargs.pop('project', None)
Expand Down

0 comments on commit d5e4159

Please sign in to comment.