How to annotate Django view's methods?
How to annotate Django view's methods? Question: I’d like to use Python type hints in my Django project. What’s the proper way to annotate get/post methods of a simple class-based view in Django? I’ve searched the Django code itself but it doesn’t seem to contain any type hints. Asked By: planetp || Source Answers: [UPDATE …