Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Internet > HTTP (WWW)

    django-socialregistration 0.5.4

    Download button

    No screenshots available
    Downloads: 443  Tell us about an update
    User Rating:
    Rated by:
    Good (3.0/5)
    1 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Alen Mujezinovic | More programs
    Other/Proprietary Li... / FREE
    March 9th, 2012, 19:46 GMT
    ROOT / Internet / HTTP (WWW)

     Read user reviews (0)  Refer to a friend  Subscribe

    django-socialregistration description

    Django application enabling registration through a variety of APIs

    django-socialregistration is a Django app that enables developers to add alternative registration methods based on third party sites.

    Installation:

    #. Add the *socialregistration* directory to your *PYTHON_PATH*.
    #. Add *socialregistration* to your *INSTALLED_APPS* settings of Django.
    #. Add *socialregistration.urls* to your *urls.py* file.

    Configuration:

    Facebook Connect

    #. Add *FACEBOOK_API_KEY* and *FACEBOOK_SECRET_KEY* to your settings file
    representing the keys you were given by Facebook.
    #. Add *socialregistration.auth.FacebookAuth* to *AUTHENTICATION_BACKENDS* in your settings file.

    #. Add tags to your template file:

      {% load facebook_tags %}
       {% facebook_button %}
       {% facebook_js %}

     
    Twitter

    #. Add the following variables to your *settings.py* file with the values you
    were given by Twitter:

      TWITTER_CONSUMER_KEY
      TWITTER_CONSUMER_SECRET_KEY
      TWITTER_REQUEST_TOKEN_URL
      TWITTER_ACCESS_TOKEN_URL
      TWITTER_AUTHORIZATION_URL


    #. Add *socialregistration.auth.TwitterAuth* to *AUTHENTICATION_BACKENDS* in your settings file.

    #. Add tags to your template file:
      {% load twitter_tags %}
      {% twitter_button %}


    Other OAuth Services

    There is an example of how FriendFeed integration could work.  *socialregistration.models* provides a *FriendFeedProfile* model to save account data, *socialregistration.auth* provides examples for different auth backends for different service providers, *socialregistration.utils* provides a Twitter and FriendFeed interface and *socialregistration.urls* provides examples based on Twitter and FriendFeed how to hook in more OAuth based services.

    OpenID

    #. Add *socialregistration.auth.OpenIDAuth* to *AUTHENTICATION_BACKENDS* in your settings file.
    #. Add tags to your template file:
      {% load openid_tags %}
      {% openid_form %}


    Other Information

    If you don't wish your users to be redirected to the setup view to create a username but rather have  a username generated for them, set *SOCIAL_GENERATE_USERNAME* in your settings file to True.


    Product's homepage

    Requirements:

    · Python
    · Django
    · oauth
    · python-openid
    · pyfacebook

      


    TAGS:

    registration methods | social registration | Django registration | Django | social | registration



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM