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

https://github.com/scaleoutsystems/studio-api

Django app for handling REST-API in studio
https://github.com/scaleoutsystems/studio-api

Last synced: 8 months ago
JSON representation

Django app for handling REST-API in studio

Awesome Lists containing this project

README

          

# studio-api

Restful-API Django module for [Studio/STACKn](https://github.com/scaleoutsystems/stackn). To include source package in a Django project:

```
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install .
```
And add to installed apps in settings.py:

```
INSTALLED_APPS=[
"rest_framework.authtoken",
"rest_framework",
"api"
]

REST_FRAMEWORK = {
"DEFAULT_AUTHENTICATION_CLASSES": [
"rest_framework.authentication.TokenAuthentication"
],
}
```

For a complete project follow the link above and navigate to settings.py