How to authenticate connected application with key? Django, Python <p>I develop a web-service that through the web-API should be connected with third-party applications via pregenerated key. My solution is to use <code>@csrf_exempt</code>, but it seems to be very bad solution. How to authenticate connected application via key?</p>