Implement document trash can and soft delete support. First half or gh-issue 188.

This commit is contained in:
Roberto Rosario
2015-07-03 03:28:02 -04:00
parent e2e62d7640
commit 98b988038e
9 changed files with 147 additions and 40 deletions

View File

@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('documents', '0008_auto_20150624_0520'),
]
operations = [
migrations.AddField(
model_name='document',
name='in_trash',
field=models.BooleanField(default=False, verbose_name='In trash?', editable=False),
preserve_default=True,
),
]