Changes between Initial Version and Version 1 of Ticket #27483, comment 3
- Timestamp:
- Nov 15, 2016, 11:20:52 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27483, comment 3
initial v1 2 2 3 3 First : 4 i think we should have on docs about use `@login_required` in request AJAX, i don't see this `Note` for AJAX request must developer spoofto use `@login_required` on request AJAX while `@login_required` is not return content type `json` or `html` to client,4 i think we should have on docs about use `@login_required` in request AJAX, i don't see this `Note` for AJAX request must developer cheat to use `@login_required` on request AJAX while `@login_required` is not return content type `json` or `html` to client, 5 5 https://docs.djangoproject.com/en/1.10/topics/auth/default/#django.contrib.auth.decorators.login_required, 6 6