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 hashes)