Davronbek SWE πŸͺ
924 subscribers
578 photos
113 videos
66 files
446 links
- Loyihalardagi xatoliklar va ularni xal qilishdagi ba'zi tavsiyalarni ulashib boraman.

Don't be shy, say hi πŸ‘‹ | @firdavs_dev | davronbekdev.uz
Download Telegram
#django #orm #interview

- Ushbu tablelar'da foydalangan holatda request.user'ni barcha chat ma'lumotlarini shu holatda bazadan ORM level'da (iloji boricha 1ta surovda) olishga harakat qiling. 🀯


[
{
"chat_title": "Chat 1",
"preparations": [
{
"id": 1,
"name": "Preparation 1",
"status": "done"
}
// ...
],
"messages_count": 100,
"unread_messages_count": 4,
"last_message_id": 2
},
// ...
]
Please open Telegram to view this post
VIEW IN TELEGRAM
#interview #questions

Yaqinda "Middle Python Dev" uchun chiqarilgan vakansiyamizda interview'da suralgan ba'zi savollar: πŸ˜‰

* What is through model relationships?
* What Proxy models, when it should use?
* annotate() & aggregate() ?
* select_related & prefetch_related (disadvantage & advantage)?
* defer() & only() ?
* What is select_for_update() & How does it works?
* ContentType, GenericForeignKey, GenericRelation?
* Can you explain "_" and "__" in python clearly for me?
*
When we should use @ staticmethod and @ classmethod ?
* What is a MRO on python and how does it works?
* What should we do to help garbage collection?
* What do you understand about the global interpreter lock?
* ExpressionWrapper & F & Cast (django)?
* Threading vs Asyncio vs Multiprocess

p.s) Takrorlab olish ziyon qilmas πŸ”₯ :)

Β» @davron_coder
Please open Telegram to view this post
VIEW IN TELEGRAM