1.7.18 w_carrier_card.html fix route.highlight_end_DT

This commit is contained in:
SDE
2024-11-12 16:04:12 +03:00
parent e03f4a015a
commit a329720f1c
3 changed files with 5 additions and 17 deletions

View File

@@ -48,21 +48,6 @@ def generate_routes(request, routes_count):
) for item in range(routes_count)
]
# routes = [
# Route(
# type_transport='avia',
# departure_DT=datetime(year=2024, month=9, day=1),
# arrival_DT=datetime(year=2024, month=9, day=3),
# from_address_point = from_air.id,
# to_address_point = to_air.id,
# from_city = from_air.city,
# to_city = to_air.city,
# weight = item,
# phone = '1234567890',
# owner = request.user
# ) for item in range(1000)
# ]
Route.objects.bulk_create(routes)
if res: