Refactor device management: add vendor field, enhance admin display, and improve MAC address handling
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 5.2 on 2025-06-01 14:15
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("devices", "0007_device_vendor"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="device",
|
||||
name="blocked_by",
|
||||
field=models.CharField(
|
||||
blank=True,
|
||||
choices=[("ADMIN", "Admin"), ("PARENT", "Parent")],
|
||||
default=None,
|
||||
max_length=255,
|
||||
null=True,
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user