2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-04 20:51:00 +00:00

Allow tag fields to be empty (#4816)

Without this change, editing items (e.g. via the admin interface) fails if the tag field is not empty
This commit is contained in:
Oliver
2023-05-15 10:57:12 +10:00
committed by GitHub
parent e2505433a2
commit caa7b84c3e
6 changed files with 77 additions and 5 deletions

View File

@ -0,0 +1,25 @@
# Generated by Django 3.2.19 on 2023-05-15 00:04
from django.db import migrations
import taggit.managers
class Migration(migrations.Migration):
dependencies = [
('taggit', '0005_auto_20220424_2025'),
('company', '0057_auto_20230427_2033'),
]
operations = [
migrations.AlterField(
model_name='manufacturerpart',
name='tags',
field=taggit.managers.TaggableManager(blank=True, help_text='A comma-separated list of tags.', through='taggit.TaggedItem', to='taggit.Tag', verbose_name='Tags'),
),
migrations.AlterField(
model_name='supplierpart',
name='tags',
field=taggit.managers.TaggableManager(blank=True, help_text='A comma-separated list of tags.', through='taggit.TaggedItem', to='taggit.Tag', verbose_name='Tags'),
),
]