Can you tell me about the Singleton pattern?
Python
Tell me about the Repository pattern and how you use it.
What is DDD and how widely is it used in development?
Does FastAPI also encounter the N+1 problem? How is it solved?
If you need to insert or update a thousand records at once, how would you do it? What are the pitfalls of bulk methods?
F-objects and Q-objects in Django ORM — do you remember anything about them?
Are there any patterns that you directly use in your work?
Where do you store business logic, and where do you embed it?
What problem do select_related and prefetch_related solve?
If you need to calculate values directly in SQL based on a condition (for example, a discount depends on the customer category), how would you do this in Django ORM to avoid loading everything into Python?
When making requests with related models in Django ORM, how do you avoid unnecessary SQL queries? What two ORM mechanisms do you know?
Have you had a case where your technical opinion differed from the lead's?
Can you tell me something about the Adapter pattern?