вф
Size: a a a
вф
вф
•
Ибо пишу let json = response.json()
Let answer = json.answer
V💊
V💊
let json = await response.json()
•
NS
A
DA
DT
•
•
DA
DT
DA
DT
.annotate(где ... - это вычисленные относительно сегодняшнего дня даты для категорий
birth_category=Case(
When(date_birth__lt=.., then=Value('0-17')),
When(date_birth__gt=..,date_birth__lt=.., then=Value('18-24')),
When(date_birth__gt=..,date_birth=.., then=Value('25-36')),
default=Value('37+'),
output_field=CharField(),
)
)
DA
DT
FE