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
- Host: GitHub
- URL: https://github.com/phildini/django-sandstorm
- Owner: phildini
- License: mit
- Created: 2016-01-21T23:49:08.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-02-14T22:44:32.000Z (over 6 years ago)
- Last Synced: 2025-04-14T05:09:08.403Z (about 1 year ago)
- Language: Python
- Size: 6.84 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[](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',
)
```