diff --git a/passbook/providers/proxy/migrations/0007_auto_20200923_1017.py b/passbook/providers/proxy/migrations/0007_auto_20200923_1017.py index 7de35d2af..75ed6047c 100644 --- a/passbook/providers/proxy/migrations/0007_auto_20200923_1017.py +++ b/passbook/providers/proxy/migrations/0007_auto_20200923_1017.py @@ -6,18 +6,24 @@ from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ - ('passbook_providers_proxy', '0006_proxyprovider_skip_path_regex'), + ("passbook_providers_proxy", "0006_proxyprovider_skip_path_regex"), ] operations = [ migrations.AddField( - model_name='proxyprovider', - name='internal_host_ssl_validation', - field=models.BooleanField(default=True, help_text='Validate SSL Certificates of upstream servers'), + model_name="proxyprovider", + name="internal_host_ssl_validation", + field=models.BooleanField( + default=True, help_text="Validate SSL Certificates of upstream servers" + ), ), migrations.AlterField( - model_name='proxyprovider', - name='skip_path_regex', - field=models.TextField(blank=True, default='', help_text='Regular expressions for which authentication is not required. Each new line is interpreted as a new Regular Expression.'), + model_name="proxyprovider", + name="skip_path_regex", + field=models.TextField( + blank=True, + default="", + help_text="Regular expressions for which authentication is not required. Each new line is interpreted as a new Regular Expression.", + ), ), ] diff --git a/passbook/providers/proxy/models.py b/passbook/providers/proxy/models.py index c54450cc1..2ea358efa 100644 --- a/passbook/providers/proxy/models.py +++ b/passbook/providers/proxy/models.py @@ -47,7 +47,8 @@ class ProxyProvider(OutpostModel, OAuth2Provider): validators=[DomainlessURLValidator(schemes=("http", "https"))] ) internal_host_ssl_validation = models.BooleanField( - default=True, help_text=_("Validate SSL Certificates of upstream servers")) + default=True, help_text=_("Validate SSL Certificates of upstream servers") + ) skip_path_regex = models.TextField( default="",