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-valuate 1.0 Beta 2.2

    Download button

    No screenshots available
    Downloads: 175  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Excellent (5.0/5)
    1 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Rohan Jain | More programs
    BSD License / FREE
    March 6th, 2011, 05:19 GMT
    ROOT / Internet / HTTP (WWW)

     Read user reviews (0)  Refer to a friend  Subscribe

    django-valuate description

    Easy plugging of user evaluation system to any Django object

    django-valuate is a portable Django app to easily associate a user valuation (rating, like etc) to any object, just on the basis of template tags. No configuration of existing models and views required.

    Installation:


     * Run python setup.py install
     * Include 'valuate' in your installed apps settings.
     * Add (r'^valuate/', include('valuate.urls')) to your main urls.py.
     * Ensure you have request context preprocessor added in the list of preprocessors or pass request varible context to views.

    Usage:

    Available settings:

    VALUATION_NAME: Name for the type of valuation, will be visible in forms. Eg: rating,like etc.

    VALUATION_CHOICES: A list of choices which will be used as the choice set for users. Each choice will be assigned an integer value, going from low to high. Eg: ['low', 'medium', 'high'] => ((1, 'low'), (2, 'medium'), (3, 'high'))

    VALUATION_TEMPLATE: Name of a predefined template. Currently available: rating, like.

    Load the template tags: {% load valuation %}

    Available tags:


    {% render_valuation_form object %}

    Renders the valuation form for the provided object. Override template: 'valuate/form.html' for modifying the look.

    {% render_valuation_status object %}

    Renders the status according to the score of various choices. Override template: 'valuate/status.html' for modifying the look.

    {% get_valuation_score object %}

    Returns the average score of the object using the corresponding values of chioces.

    {% get_choice_count object 'choice' %}

    Returns the score count for a perticular choice of an object. Choice should be provided with quotes (as string).


    Product's homepage

    Requirements:

    · Django
    · Python

      


    TAGS:

    user valuation | user rating | Django | user | valuation

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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