На днях вышел Django 5.
▫️GeneratedField
Поля, которые автоматически рассчитываются по экспрешену (Database generated model field).
▫️Фасетный фильтр для админки
Показывает количество элементов для каждого фильтра.
▫️Async
Добавлены асинхроные функции django.contrib.auth, ORM. Ряд декораторов теперь поддерживаются асинхронными вьюшками.
▫️ORM
Новые возможносте полей, такие как поддержка словарей и функций в choices, дефолтные значения на стороне БД (Database-computed default values) с аргументом db_default и другие.
▫️Шаблоны
Новые возможности шаблонов, позволяющие писать меньше кода в формах.
#django
🇮🇳 Au moins une personne est morte et treize autres ont été blessées dans l'effondrement d'une attraction foraine à Faridabad, dans l'État d'Haryana, dans le nord de l'Inde. C'est ce qu'a rapporté l'agence ANI, citant le commissaire de district de Faridabad.
Selon le commissaire, vers 18h15 (UTC+6), une attraction s'est effondrée lors de la foire Surajkund, tuant un inspecteur de police qui tentait de sauver d'autres personnes. Treize autres personnes ont été blessées et hospitalisées, a indiqué l'agence.
#inde#attraction#effondrement#victimes
Why are some voices so attractive? 🎤
It is about what they signal.
Women often find deep male voices appealing because they suggest a larger body size. But a touch of breathiness is key, it softens the voice, making it seem less aggressive and more attractive.
Meanwhile, men tend to prefer higher-pitched female voices, which can signal a smaller frame.
It’s all subconscious — our ears are sizing people up.👂💘
[Read more]
@googlefactss#Voice#Attraction#Psychology#Dating#Science
🎙️Science Fact: Women's voices sound more attractive when recorded during their most fertile time of the month. 🎶
Studies show listeners rate these voices higher and even experience a slight testosterone boost.
[Read more]
@googlefactss
#VoiceScience#Fertility#Attraction#FunFact#Biology