Как происходит цикл представления на основе классов в django?
- got request
- a worker initialize a class based view instance
- returns a response and destroies the view instance
или
- view instance is initialized when server starts up
- workers wait in queue to get response and returns a response from view instance
- view instance lives forever
Я вдруг осознал, что использую Django уже несколько лет и до сих пор не знаю, как он работает... какой из них? Спасибо