providers/proxy: fix formatting
This commit is contained in:
parent
9f6f18f9bb
commit
9d93da3d45
|
@ -6,18 +6,24 @@ from django.db import migrations, models
|
||||||
class Migration(migrations.Migration):
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
('passbook_providers_proxy', '0006_proxyprovider_skip_path_regex'),
|
("passbook_providers_proxy", "0006_proxyprovider_skip_path_regex"),
|
||||||
]
|
]
|
||||||
|
|
||||||
operations = [
|
operations = [
|
||||||
migrations.AddField(
|
migrations.AddField(
|
||||||
model_name='proxyprovider',
|
model_name="proxyprovider",
|
||||||
name='internal_host_ssl_validation',
|
name="internal_host_ssl_validation",
|
||||||
field=models.BooleanField(default=True, help_text='Validate SSL Certificates of upstream servers'),
|
field=models.BooleanField(
|
||||||
|
default=True, help_text="Validate SSL Certificates of upstream servers"
|
||||||
|
),
|
||||||
),
|
),
|
||||||
migrations.AlterField(
|
migrations.AlterField(
|
||||||
model_name='proxyprovider',
|
model_name="proxyprovider",
|
||||||
name='skip_path_regex',
|
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.'),
|
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.",
|
||||||
|
),
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
@ -47,7 +47,8 @@ class ProxyProvider(OutpostModel, OAuth2Provider):
|
||||||
validators=[DomainlessURLValidator(schemes=("http", "https"))]
|
validators=[DomainlessURLValidator(schemes=("http", "https"))]
|
||||||
)
|
)
|
||||||
internal_host_ssl_validation = models.BooleanField(
|
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(
|
skip_path_regex = models.TextField(
|
||||||
default="",
|
default="",
|
||||||
|
|
Reference in New Issue