django-lastfm-auth is an extension to django-social-auth which adds a backend for Last.fm.
Project description
Django-Lastfm-Auth
==============================
Django-Lastfm-Auth is an extension to `Django-Social-Auth <https://github.com/omab/django-social-auth>`_
which adds a backend for Last.fm.
If you are looking for a stand alone Last.fm authentication backend then please
check out `django-lastfmauth <http://pypi.python.org/pypi/django-lastfmauth/>`_.
Requirements
-------------------------------
- Django-Social-Auth >= 0.3.3
- Django >= 1.2.5
- Python-OAuth2 >= 1.5.167
- Python-Openid >= 2.2
API Keys
-------------------------------
In order to use this application you must sign up for API keys on
Last.fm. These should be put into your settings file using the settings::
LASTFM_API_KEY = '' # Your api key
LASTFM_SECRET = '' # Your api secret
Extra data
-------------------------------
Similar to the other OAuth backends you can define
LASTFM_EXTRA_DATA = [('realname', 'realname'), ]
as a list of tuples (response name, alias) to store on the UserSocialAuth model.
Installation
-------------------------------
To install django-lastfm-auth via pip::
pip install django-lastfm-auth
Or you can from the latest version from Github manually::
git clone git://github.com/mlavin/django-lastfm-auth.git
cd django-lastfm-auth
python setup.py install
or via pip::
pip install -e git+https://github.com/mlavin/django-lastfm-auth.git
Once you have the app installed you must include in your settings::
INSTALLED_APPS = (
...
'social_auth',
'lastfm_auth',
...
)
AUTHENTICATION_BACKENDS = (
...
'lastfm_auth.backend.LastfmBackend',
...
)
SOCIAL_AUTH_IMPORT_BACKENDS = (
...
'lastfm_auth',
...
)
Please refer to the `Django-Social-Auth <http://django-social-auth.readthedocs.org/>`_
documentation for additional information.
Questions or Issues?
-------------------------------
If you have questions, issues or requests for improvements please let me know on
`Github <https://github.com/mlavin/django-lastfm-auth/issues>`_.
==============================
Django-Lastfm-Auth is an extension to `Django-Social-Auth <https://github.com/omab/django-social-auth>`_
which adds a backend for Last.fm.
If you are looking for a stand alone Last.fm authentication backend then please
check out `django-lastfmauth <http://pypi.python.org/pypi/django-lastfmauth/>`_.
Requirements
-------------------------------
- Django-Social-Auth >= 0.3.3
- Django >= 1.2.5
- Python-OAuth2 >= 1.5.167
- Python-Openid >= 2.2
API Keys
-------------------------------
In order to use this application you must sign up for API keys on
Last.fm. These should be put into your settings file using the settings::
LASTFM_API_KEY = '' # Your api key
LASTFM_SECRET = '' # Your api secret
Extra data
-------------------------------
Similar to the other OAuth backends you can define
LASTFM_EXTRA_DATA = [('realname', 'realname'), ]
as a list of tuples (response name, alias) to store on the UserSocialAuth model.
Installation
-------------------------------
To install django-lastfm-auth via pip::
pip install django-lastfm-auth
Or you can from the latest version from Github manually::
git clone git://github.com/mlavin/django-lastfm-auth.git
cd django-lastfm-auth
python setup.py install
or via pip::
pip install -e git+https://github.com/mlavin/django-lastfm-auth.git
Once you have the app installed you must include in your settings::
INSTALLED_APPS = (
...
'social_auth',
'lastfm_auth',
...
)
AUTHENTICATION_BACKENDS = (
...
'lastfm_auth.backend.LastfmBackend',
...
)
SOCIAL_AUTH_IMPORT_BACKENDS = (
...
'lastfm_auth',
...
)
Please refer to the `Django-Social-Auth <http://django-social-auth.readthedocs.org/>`_
documentation for additional information.
Questions or Issues?
-------------------------------
If you have questions, issues or requests for improvements please let me know on
`Github <https://github.com/mlavin/django-lastfm-auth/issues>`_.
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
File details
Details for the file django-lastfm-auth-0.2.3.tar.gz
.
File metadata
- Download URL: django-lastfm-auth-0.2.3.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 989af2cc0e51433acf711d5648df35b0bbc56db32482a401c55281eb41aeeb0a |
|
MD5 | 0f6a7f7073c13a42c367bd01febc9c59 |
|
BLAKE2b-256 | 684d2b326875f5b83d8787055000fb15227c6cf27589e7cd3e6ae6d9451e1577 |