mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-23 20:56:43 +00:00
* Enable E501 rule * Configure ruff formatter * Reformat migration files to fix line length violations * Fix various E501 errors * Move table template code to template_code.py & ignore E501 errors * Reformat raw SQL
25 lines
639 B
Python
25 lines
639 B
Python
# Generated by Django 4.2.6 on 2023-10-20 11:48
|
|
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
dependencies = [
|
|
('dcim', '0183_devicetype_exclude_from_utilization'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='interface',
|
|
name='parent',
|
|
field=models.ForeignKey(
|
|
blank=True,
|
|
null=True,
|
|
on_delete=django.db.models.deletion.RESTRICT,
|
|
related_name='child_interfaces',
|
|
to='dcim.interface',
|
|
),
|
|
),
|
|
]
|