diff --git a/mayan/apps/sources/migrations/0016_auto_20170630_2040.py b/mayan/apps/sources/migrations/0016_auto_20170630_2040.py new file mode 100644 index 0000000000..24e6f6e31b --- /dev/null +++ b/mayan/apps/sources/migrations/0016_auto_20170630_2040.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.10.7 on 2017-06-30 20:40 +from __future__ import unicode_literals + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('sources', '0015_auto_20170206_0835'), + ] + + operations = [ + migrations.AlterField( + model_name='sanescanner', + name='resolution', + field=models.PositiveIntegerField(blank=True, help_text='Sets the resolution of the scanned image in DPI (dots per inch). Typical value is 200. If this option is not supported by your scanner, leave it blank.', null=True, verbose_name='Resolution'), + ), + ] diff --git a/mayan/apps/sources/models.py b/mayan/apps/sources/models.py index 234a4b985a..e069ad1051 100644 --- a/mayan/apps/sources/models.py +++ b/mayan/apps/sources/models.py @@ -185,7 +185,7 @@ class SaneScanner(InteractiveSource): ), max_length=16, verbose_name=_('Mode') ) resolution = models.PositiveIntegerField( - blank=True, help_text=_( + blank=True, null=True, help_text=_( 'Sets the resolution of the scanned image in DPI (dots per inch). ' 'Typical value is 200. If this option is not supported by your ' 'scanner, leave it blank.'