Metadata-Version: 1.0
Name: django-lastfmauth
Version: 0.1a1
Summary: Django app to let your website visitors register/login using LastFM authentication webservice.
Home-page: http://github.com/matagus/django-lastfm-auth
Author: Matias Agustin Mendez
Author-email: me@matagus.com.ar
License: BSD
Description: ## lastfmauth app for django projects
        
        So far this is a very alpha app and it need some more work to be complete.
        
        ### Requirements
        Tested with django 1.2 and python2.6.
        
        ### Instalation
        Register your app and get a key in [LastFM API page](http://www.last.fm/api/)
        Set the callback url to http://your-domain/login_complete/
        
        Add to your settings.py:
        
            INSTALLED_APPS = (
                ...
                'lastfmauth',
                ...
            )
        
            AUTHENTICATION_BACKENDS = (
                "lastfmauth.backends.LastfmAuthBackend",
                ...
            )
        
            LASTFM_API_KEY = "YOUR API KEY"
            LASTFM_SECRET = "YOUR SECRET KEY"
            LASTFM_WS_BASE_URL = "http://ws.audioscrobbler.com/2.0/"
        
        Add to your urls.py:
            ...
            (r'^lastfmauth/', include('lastfmauth.urls')),
            ...
        
        ### Usage
        Put somewhere in your templates a link to let visitors login using LastFM:
        
            <a href="{% url lastfmauth_login %}">{% trans 'Login using your LastFm account' %}</a>
        
        ### License
        This work is under MIT License.
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Topic :: Internet :: WWW/HTTP
