Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shearichard/django-drf-custom-user
Temporary project to experiment with aspects of Django Custom User wrt Django-Rest-Framework. Doesn't do much.
https://github.com/shearichard/django-drf-custom-user
django django-rest-framework
Last synced: about 10 hours ago
JSON representation
Temporary project to experiment with aspects of Django Custom User wrt Django-Rest-Framework. Doesn't do much.
- Host: GitHub
- URL: https://github.com/shearichard/django-drf-custom-user
- Owner: shearichard
- License: mit
- Created: 2024-01-11T07:29:27.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-01-14T06:08:37.000Z (10 months ago)
- Last Synced: 2024-01-14T12:40:45.530Z (10 months ago)
- Topics: django, django-rest-framework
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Django DRF Custom User
This project is used to trial the use of custom Django Users in the context of Django Rest Framework.## Example Transactions
### Before any authorisation applied
Add a snippet.
```
$ echo -n '{"id": 1,"title": "","code": "foo = \"bar\"\n","linenos": false,"language": "python","style": "friendly"}' | http POST localhost:8000/snippets/
```
View all snippets.
```
$ http http://localhost:8000/snippets/
```