Davronbek | SWE πŸͺ
889 subscribers
584 photos
113 videos
66 files
449 links
More: Python | Go | VueJs

- Loyihalardagi xatoliklar va ularni xal qilishdagi ba'zi tavsiyalarni yozib boraman.

Don't be shy, say hi πŸ‘‹ | @firdavs_dev | https://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
πŸ€”6πŸ€·β€β™‚3πŸ‘2🀯2❀‍πŸ”₯1😁1
πŸ‘3❀‍πŸ”₯1πŸ‘1
#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
πŸ‘15πŸ”₯104⚑2