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.6.tar.gz
(3.9 kB
view details)
File details
Details for the file flytrap-auth-0.0.6.tar.gz.
File metadata
- Download URL: flytrap-auth-0.0.6.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef4c81c69b57af9b86bfe948a905dbd5fa95484818ff7e9059c5610e8b6ecff3
|
|
| MD5 |
593a0aca880e525a8d5919a07f558deb
|
|
| BLAKE2b-256 |
e04e2c9b5c45c0bbef57df8184974046505f5d6238aa841b422aced596bb0786
|