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-like-button 0.0.6

    Download button

    No screenshots available
    Downloads: 72  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    John Costa | More programs
    BSD License / FREE
    February 16th, 2012, 00:09 GMT
    ROOT / Internet / HTTP (WWW)

     Read user reviews (0)  Refer to a friend  Subscribe

    django-like-button description

    Django App for adding a Facebook like button

    django-like-button is a Django app that makes it easy to use a Facebook like button in your Django application. You just need to do the following.

    Installation

     Install django-like-button using easy_setup or pip:

     pip install django-like-button

     add like_button to your INSTALLED_APPS in your django settings file:

     INSTALLED_APPS = (
     # all
     # other
     # apps
     'like_button',
     )


     Add "FACEBOOK_APP_ID" setting to your django settings file with your facebook application Id.

     in settings.py:

     FACEBOOK_APP_ID = "your appID"
     FACEBOOK_SHOW_SEND = "true" or "false, default is "true"
     FACEBOOK_LIKE_WIDTH = "numeric value for width", default is true
     FACEBOOK_SHOW_FACES = "true" or "false, default is "true"
     FACEBOOK_FONT = "font", default is "arial"


     Add the template tag code into your base template before the body tag.

     Where you need the like button:

     {% load like_button %}

     At the bottom of the page before the tag put this (you only need to do this once):

     {% like_button_js_tag %}


    Product's homepage

    Requirements:

    · Python
    · Django

      


    TAGS:

    Django like | like button | Django | like | button



    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