1.7.18 w_carrier_card.html fix route.highlight_end_DT
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user