mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-17 09:52:53 +00:00
Improve uniqueness checking for Part
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# Generated by Django 2.2.2 on 2019-06-20 11:35
|
||||
|
||||
import InvenTree.validators
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('part', '0009_part_virtual'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='part',
|
||||
name='name',
|
||||
field=models.CharField(help_text='Part name', max_length=100, validators=[InvenTree.validators.validate_part_name]),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user