Update Document model's uuid field to use Django's native UUIDField class.

This commit is contained in:
Roberto Rosario
2016-03-15 01:44:34 -04:00
parent 928d86088a
commit 3d36f1b828
7 changed files with 74 additions and 11 deletions
@@ -14,11 +14,21 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='documenttype',
name='delete_time_period',
field=models.PositiveIntegerField(default=30, help_text='Amount of time after which documents of this type in the trash will be deleted.', null=True, verbose_name='Delete time period', blank=True),
field=models.PositiveIntegerField(
default=30, help_text='Amount of time after which documents '
'of this type in the trash will be deleted.', null=True,
verbose_name='Delete time period', blank=True
),
),
migrations.AlterField(
model_name='documenttype',
name='delete_time_unit',
field=models.CharField(default='days', choices=[('days', 'Days'), ('hours', 'Hours'), ('minutes', 'Minutes')], max_length=8, blank=True, null=True, verbose_name='Delete time unit'),
field=models.CharField(
default='days', choices=[
('days', 'Days'), ('hours', 'Hours'),
('minutes', 'Minutes')
], max_length=8, blank=True, null=True,
verbose_name='Delete time unit'
),
),
]