create account

Pro tip: A custom Steemconnect authentication backend for Django apps by emrebeyler

View this thread on: hive.blogpeakd.comecency.com
· @emrebeyler · (edited)
$4.99
Pro tip: A custom Steemconnect authentication backend for Django apps
![carbon (11).png](https://ipfs.busy.org/ipfs/QmVPLan6beNfR4e6oYM7tdbWbuqnQHubZg8vaVWeUFoDGu)

***
<center>See the [source](https://gist.github.com/emre/dc339dc3cf8f1bb18d6c09303660d245) at Github Gists.</center>

#### Usage
***
- Save this somewhere in your project. Ex: steemconnect_backend.py
- Edit your settings an add this new auth backend:

```
AUTHENTICATION_BACKENDS = [
    'somewhere.inyourproject.SteemConnectBackend',
    'django.contrib.auth.backends.ModelBackend',
]
```
#### Notes
***

- Requires steemconnect-python-client
- You can also set profile information on user creation. (image, about, location)
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 197 others
properties (23)
authoremrebeyler
permlinkpro-tip-a-custom-steemconnect-authentication-backend-for-django-apps
categorypython
json_metadata{"community":"busy","app":"busy/2.5.6","format":"markdown","tags":["python","django","programming","busy"],"users":[],"links":["https://gist.github.com/emre/dc339dc3cf8f1bb18d6c09303660d245"],"image":["https://ipfs.busy.org/ipfs/QmVPLan6beNfR4e6oYM7tdbWbuqnQHubZg8vaVWeUFoDGu"]}
created2018-09-17 08:07:30
last_update2018-09-17 08:09:21
depth0
children0
last_payout2018-09-24 08:07:30
cashout_time1969-12-31 23:59:59
total_payout_value4.309 HBD
curator_payout_value0.676 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length622
author_reputation448,535,049,068,622
root_title"Pro tip: A custom Steemconnect authentication backend for Django apps"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id71,517,594
net_rshares4,039,959,576,981
author_curate_reward""
vote details (261)