Add SAML metadata refresh control flag

mattdrayer: Change model fieldname, revise code, fix bad tests.
This commit is contained in:
Matt Drayer
2017-03-28 16:00:26 -04:00
parent 4ef009cf4f
commit b64503848c
6 changed files with 111 additions and 50 deletions

View File

@@ -0,0 +1,19 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('third_party_auth', '0005_add_site_field'),
]
operations = [
migrations.AddField(
model_name='samlproviderconfig',
name='automatic_refresh_enabled',
field=models.BooleanField(default=True, help_text=b"When checked, the SAML provider's metadata will be included in the automatic refresh job, if configured.", verbose_name=b'Enable automatic metadata refresh'),
),
]