Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Internet > HTTP (WWW)

    django-followit 0.0.2

    Download button

    No screenshots available
    Downloads: 132  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Evgeny Fadeev | More programs
    BSD License / FREE
    July 19th, 2011, 07:50 GMT
    ROOT / Internet / HTTP (WWW)

     Read user reviews (0)  Refer to a friend  Subscribe

    django-followit description

    A Django application that allows users to follow django model objects

    django-followit is a Django app that allows to easily set up a capability for the site users to follow various things on the site, represented by Django model objects.

    Setup

    To the INSTALLED_APPS in your settings.py add entry 'followit'. Then, in your apps' models.py, probably at the end of the file, add:

     import followit followit.register(Thing)

    Once that is done, in your shell run:

     python manage.py syncdb

    Not it will be possible for the user to follow instances of SomeModel.

    If you decide to allow following another model, just add another followit.register(...) statement to the models.py and re-run the syncdb.

    Usage

    Examples below show how to use followit (assuming that model Thing is registered with followit in your models.py.

     bob.follow_thing(x) bob.unfollow_thing(x) things = bob.get_followed_things() x_followers = x.get_followers()


    Note that followit does not yet provide view functions of url routing relevant to following or unfollowing items, nor template tags.


    Product's homepage

    Requirements:

    · Python
    · Django

      


    TAGS:

    Django model | follow objects | Django | model | objects

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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