Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.

Commit bdb5acd

Browse files
author
Matthew Fisher
authored
fix(api): add certificate private key validator migration (#1199)
1 parent 1345f2c commit bdb5acd

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# -*- coding: utf-8 -*-
2+
# Generated by Django 1.10.4 on 2017-01-11 22:19
3+
from __future__ import unicode_literals
4+
5+
import api.models.certificate
6+
from django.db import migrations, models
7+
8+
9+
class Migration(migrations.Migration):
10+
11+
dependencies = [
12+
('api', '0021_appsettings_label'),
13+
]
14+
15+
operations = [
16+
migrations.AlterField(
17+
model_name='certificate',
18+
name='key',
19+
field=models.TextField(validators=[api.models.certificate.validate_private_key]),
20+
),
21+
]

0 commit comments

Comments
 (0)