[Django]-Can I add more than two arguments to get_context_data()?

6👍

Request object is available as member of a Class Based View object and can be accessed by self.request. If, for some reason, you do pass it in **kwargs use kwargs.get("request") since it’s a plain dict.

Leave a comment