scaleoutsystems / studio-api

Django app for handling REST-API in studio

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

studio-api

Restful-API Django module for Studio/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

About

Django app for handling REST-API in studio

License:Apache License 2.0


Languages

Language:Python 100.0%