mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
8eaaf62eda
Based on is_template / virtual / active status
20 lines
611 B
Python
20 lines
611 B
Python
# Generated by Django 2.2.9 on 2020-03-18 10:27
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('build', '0009_auto_20200210_1032'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='build',
|
|
name='part',
|
|
field=models.ForeignKey(help_text='Select part to build', limit_choices_to={'active': True, 'assembly': True, 'is_template': False, 'virtual': False}, on_delete=django.db.models.deletion.CASCADE, related_name='builds', to='part.Part'),
|
|
),
|
|
]
|