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
Why this year’s hurricane season is worse than most