Skip to content

Commit 97f7159

Browse files
committed
Migration for the nomcom 'public_key' field change to a settings-agnostic FileStorage.
- Legacy-Id: 10301
1 parent aa2c6e1 commit 97f7159

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+
from __future__ import unicode_literals
3+
4+
from django.db import models, migrations
5+
import ietf.nomcom.models
6+
7+
8+
class Migration(migrations.Migration):
9+
10+
dependencies = [
11+
('nomcom', '0003_nomination_share_nominator'),
12+
]
13+
14+
operations = [
15+
migrations.AlterField(
16+
model_name='nomcom',
17+
name='public_key',
18+
field=models.FileField(storage=ietf.nomcom.models.NoLocationMigrationFileSystemStorage(location=None), null=True, upload_to=ietf.nomcom.models.upload_path_handler, blank=True),
19+
preserve_default=True,
20+
),
21+
]

0 commit comments

Comments
 (0)