Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 566 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 566 Bytes

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