Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tbobm/django-etna-backend
A django AuthenticationBackend for ETNA APIs (@school)
https://github.com/tbobm/django-etna-backend
api django school
Last synced: 3 days ago
JSON representation
A django AuthenticationBackend for ETNA APIs (@school)
- Host: GitHub
- URL: https://github.com/tbobm/django-etna-backend
- Owner: tbobm
- Created: 2018-01-10T18:02:09.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-11-12T21:53:23.000Z (about 4 years ago)
- Last Synced: 2023-03-04T01:37:22.255Z (over 1 year ago)
- Topics: api, django, school
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Django-etna-backend
A django AuthenticationBackend for ETNA APIs (@school) based on [etnawrapper](https://github.com/tbobm/etnawrapper).
## Usage
See [django: customizing backend](https://docs.djangoproject.com/en/dev/topics/auth/customizing/) for details.
```python
# in your app's settings.py
INSTALLED_APPS = [
'...',
'django_etna_backend',
]AUTHENTICATION_BACKENDS = [
'...',
'django_etna_backend.auth.EtnaAuthBackend',
]
```See [example project](./examples/test/) displaying a basic implementation of this authentication backend.
## Installation
```bash
pip install django_etna_backend
```