【Django】現在ログイン中のユーザー情報を入手する
Djangoでclassbaseviewでuser情報を呼び出したいとき下記はエラーになる。
class IndexView(TemplateView): template_name = "sample/index.html model = sample_user_list def get_context_data(self,,requset, **kwargs): context = super().get_context_data(**kwargs) curr