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

https://github.com/phildini/django-sandstorm

Django Package for doing authentication with sandstorm.io
https://github.com/phildini/django-sandstorm

Last synced: about 1 year ago
JSON representation

Django Package for doing authentication with sandstorm.io

Awesome Lists containing this project

README

          

[![PyPI](https://img.shields.io/pypi/v/django-sandstorm.svg)](https://pypi.python.org/pypi/django-sandstorm)

# django-sandstorm
Django package for helping integrate a django app with sandstorm.io

To use:
`pip install django-sandstorm`

It is HIGHLY recommended you make a separate sandstorm settings file for your
app. Whether or not you do, the following needs to go in your app settings for
integration with sandstorm to work:

```
INSTALLED_APPS += (
'django_sandstorm',
)

AUTHENTICATION_BACKENDS = (
'django.contrib.auth.backends.RemoteUserBackend',
)

MIDDLEWARE_CLASSES += (
'django_sandstorm.middleware.SandstormMiddleware',
)
```