update : 01.07.2025 17:57:20,64

This commit is contained in:
Sabron 2025-07-01 17:57:20 +07:00
parent 8886a1e658
commit f675fcb0e0

View File

@ -289,9 +289,9 @@ def test_hetonis():
data_response = response.json()
for data in data_response:
print(data)
worker = WorkersLocation.object.filter(uid = data['id']).first()
worker = WorkersLocation.objects.filter(uid = data['id']).first()
if worker is None:
WorkersLocation.object.create(
WorkersLocation.objects.create(
uid = data['id'],
name = date['name'],
active = True,