https://github.com/hellothisisflo/djangorestframework-tutorial
https://github.com/hellothisisflo/djangorestframework-tutorial
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hellothisisflo/djangorestframework-tutorial
- Owner: HelloThisIsFlo
- Created: 2019-11-28T16:31:12.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-04-22T22:51:37.000Z (about 3 years ago)
- Last Synced: 2025-02-13T13:15:59.853Z (3 months ago)
- Language: Python
- Size: 28.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Django Rest Framework - Tutorial
From: https://www.django-rest-framework.org/tutorial/1-serialization/
## Notes
### Authentication
For register/login/logout, the official documentation recommends using the provided views from `django.contrib.auth`. But for a Single-Page App, this isn't working.For a register/login/logout flow fully integrated via a REST interface, check: [`django-rest-auth`](https://github.com/Tivix/django-rest-auth) (recommended [here](https://www.django-rest-framework.org/api-guide/authentication/#django-rest-auth))