SlashSlime
Number
Empty
Text
34567890
Assignee
  • SlashSlime
Category
  1. CS
Date
12/10/2024
에네ㅡ르기
6
👍
SlashSlime
1
SlashSlime
2
SlashSlime
Questions we received
This article is based on questions we received in our Django course. The questions can be summarized as follows.
Is it correct to say that the self.total, etc. defined in the get_queryset method will be retained by the get_context_data method, etc. in the same class?
SlashSlime
💡 The first assumption is that the best thing to do is to define instance variables in the init method (initialization method).
In this case, the explanation is about the behavior when instance variables are defined and used without using initialization methods.
SlashSlime
124
SlashSlime
ㄴㄹㄴㄹ
See latest comments