Use correct HTTP code for JSON requests in LoginRequired Middleware
Use correct HTTP code for JSON requests in LoginRequired Middleware

    For unauthenticated users, it makes more sense to return 401 unauthorized
      than 403 Forbidden

barseghyanartur/django-security,barseghyanartur/django-security,issackelly/django-security,MartinPetkov/django-security,issackelly/django-security,MartinPetkov/django-security