diff --git a/InvenTree/part/migrations/0029_auto_20200223_0901.py b/InvenTree/part/migrations/0029_auto_20200223_0901.py new file mode 100644 index 0000000000..2ed86c5101 --- /dev/null +++ b/InvenTree/part/migrations/0029_auto_20200223_0901.py @@ -0,0 +1,19 @@ +# Generated by Django 2.2.9 on 2020-02-23 09:01 + +from django.db import migrations +import markdownx.models + + +class Migration(migrations.Migration): + + dependencies = [ + ('part', '0028_auto_20200203_1007'), + ] + + operations = [ + migrations.AlterField( + model_name='part', + name='notes', + field=markdownx.models.MarkdownxField(blank=True, help_text='Part notes - supports Markdown formatting'), + ), + ] diff --git a/InvenTree/part/models.py b/InvenTree/part/models.py index d21a250c31..59bcbe57b1 100644 --- a/InvenTree/part/models.py +++ b/InvenTree/part/models.py @@ -438,7 +438,7 @@ class Part(models.Model): virtual = models.BooleanField(default=False, help_text=_('Is this a virtual part, such as a software product or license?')) - notes = MarkdownxField(help_text=_('Part notes - supports Markdown formatting')) + notes = MarkdownxField(blank=True, help_text=_('Part notes - supports Markdown formatting')) bom_checksum = models.CharField(max_length=128, blank=True, help_text=_('Stored BOM checksum'))