2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-21 14:20:54 +00:00

Register test template in the admin interface

This commit is contained in:
Oliver Walters
2020-05-17 13:50:06 +10:00
parent badf9230a9
commit f791ac9f57
5 changed files with 30 additions and 3 deletions

View File

@ -0,0 +1,19 @@
# Generated by Django 3.0.5 on 2020-05-17 03:48
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('part', '0040_parttesttemplate'),
]
operations = [
migrations.AlterField(
model_name='parttesttemplate',
name='part',
field=models.ForeignKey(limit_choices_to={'trackable': True}, on_delete=django.db.models.deletion.CASCADE, related_name='test_templates', to='part.Part'),
),
]