mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-06-28 15:53:57 +00:00
Refactor device management: add vendor field, enhance admin display, and improve MAC address handling
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m18s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 4m18s
This commit is contained in:
23
devices/migrations/0008_alter_device_blocked_by.py
Normal file
23
devices/migrations/0008_alter_device_blocked_by.py
Normal file
@ -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