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