Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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/
```