upd field
This commit is contained in:
parent
19d94ff516
commit
b624c20760
@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.2.25 on 2025-02-27 03:26
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('workerslocation', '0005_delete_voicecall'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='workerslocation',
|
||||
name='update_time',
|
||||
field=models.DateTimeField(blank=True, null=True, verbose_name='Время связи'),
|
||||
),
|
||||
]
|
||||
@ -15,7 +15,7 @@ class WorkersLocation(models.Model):
|
||||
radius = models.DecimalField(
|
||||
default=0.0, max_digits=9, decimal_places=6, verbose_name="Радиус"
|
||||
)
|
||||
update_time = models.DateTimeField(auto_now=True, verbose_name="Время связи")
|
||||
update_time = models.DateTimeField(verbose_name="Время связи", blank=True, null=True)
|
||||
active = models.BooleanField(default=True)
|
||||
|
||||
def __str__(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user