Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Change default storage_type to unencrypted
Browse files Browse the repository at this point in the history
  • Loading branch information
danielquinn committed May 28, 2018
1 parent 52b0249 commit 5643d89
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions src/documents/migrations/0021_auto_20180527_1653.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Generated by Django 1.11.13 on 2018-05-27 16:53
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('documents', '0020_document_storage_type'),
]

operations = [
migrations.AlterField(
model_name='document',
name='storage_type',
field=models.CharField(choices=[('unencrypted', 'Unencrypted'), ('gpg', 'Encrypted with GNU Privacy Guard')], default='unencrypted', editable=False, max_length=11),
),
]
2 changes: 1 addition & 1 deletion src/documents/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ class Document(models.Model):
storage_type = models.CharField(
max_length=11,
choices=STORAGE_TYPES,
default=STORAGE_TYPE_GPG,
default=STORAGE_TYPE_UNENCRYPTED,
editable=False
)

Expand Down

0 comments on commit 5643d89

Please sign in to comment.