A simple Django app to auth
Project description
Django base package
==============
## adduser
```
url('^api/auth/', include('flytrap.auth.account.token.urls'))
```
## set auth
```
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': (
'flytrap.auth.account.token.auth.TokenAuthentication',
),
```
## don't signup
add to setting
```
SHOW_SIGNUP = False
```
==============
## adduser
```
url('^api/auth/', include('flytrap.auth.account.token.urls'))
```
## set auth
```
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': (
'flytrap.auth.account.token.auth.TokenAuthentication',
),
```
## don't signup
add to setting
```
SHOW_SIGNUP = False
```
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flytrap-auth-0.0.2.tar.gz
(3.5 kB
view details)
File details
Details for the file flytrap-auth-0.0.2.tar.gz.
File metadata
- Download URL: flytrap-auth-0.0.2.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
832219c24dbc04c7505acf26bffa6b2702185f67e2fd23cd33d0e83288664a89
|
|
| MD5 |
3f336e98fae526639ca280ba862036e0
|
|
| BLAKE2b-256 |
e47ca4d9525e00e9865f1eda935574f39a83ee4a31776e67fe59d6b388ca6f69
|