Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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)

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
```