update : 14.05.2025 11:15:15,33
This commit is contained in:
parent
1161985dde
commit
1886a7d708
18
apps/pla/migrations/0011_alter_plagroups_ip_address.py
Normal file
18
apps/pla/migrations/0011_alter_plagroups_ip_address.py
Normal file
@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.2.25 on 2025-05-14 11:15
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('pla', '0010_plagroups_connect_time'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='plagroups',
|
||||
name='ip_address',
|
||||
field=models.GenericIPAddressField(default='127.0.0.1', verbose_name='IP-адрес'),
|
||||
),
|
||||
]
|
||||
@ -21,8 +21,7 @@ class PlaGroups(models.Model): # Журнал тревоги
|
||||
|
||||
ip_address = models.GenericIPAddressField(
|
||||
verbose_name="IP-адрес",
|
||||
default="127.0.0.1",
|
||||
unique=True
|
||||
default="127.0.0.1"
|
||||
)
|
||||
|
||||
is_control = models.BooleanField(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user