providers/proxy: fix formatting

This commit is contained in:
Jens Langhammer 2020-09-19 12:21:31 +02:00
parent 4af563ce89
commit 8b4222e7bb
2 changed files with 14 additions and 8 deletions

View File

@ -6,13 +6,17 @@ from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('passbook_providers_proxy', '0005_auto_20200914_1536'),
("passbook_providers_proxy", "0005_auto_20200914_1536"),
]
operations = [
migrations.AddField(
model_name='proxyprovider',
name='skip_path_regex',
field=models.TextField(blank=True, default='', help_text='Regular expression 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 expression for which authentication is not required. Each new line is interpreted as a new Regular Expression.",
),
),
]

View File

@ -52,10 +52,12 @@ class ProxyProvider(OutpostModel, OAuth2Provider):
skip_path_regex = models.TextField(
default="",
blank=True,
help_text=_((
"Regular expression for which authentication is not required. "
"Each new line is interpreted as a new Regular Expression."
))
help_text=_(
(
"Regular expression for which authentication is not required. "
"Each new line is interpreted as a new Regular Expression."
)
),
)
certificate = models.ForeignKey(