#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.π€―
- 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
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
Medium
Advanced Django Models: Improve Your Python Development
Models are a core concept of the Django framework. According to Djangoβs design philosophies for models, we should be as explicit asβ¦