Skip to content
Snippets Groups Projects
Verified Commit 0c578c91 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Add migration.

parent f56910ae
No related branches found
No related tags found
1 merge request!59Resolve "2FA"
from django.db import migrations
from otp_yubikey.models import ValidationService
def create_validation_service(apps, schema_editor):
ValidationService.objects.create(
name='default', use_ssl=True
)
class Migration(migrations.Migration):
dependencies = [
('core', '0003_school_logo'),
]
operations = [
migrations.RunPython(create_validation_service),
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment