title: How to annotate Django view's methods?
body: <p>I'd like to use Python <a href="https://www.python.org/dev/peps/pep-0484/" rel="noreferrer">type hints</a> in my Django project. What's the proper way to annotate <code>get</code>/<code>post</code> methods of a simple <a href="https://docs.djangoproject.com/en/dev/topics/class-based-views/" rel="noreferrer">class-based view</a> in Django?</p>
  
  <p>I've searched the Django code itself but it doesn't seem to contain any type hints.</p>