django-critic v0.2.1 documentation
Contents
Below is a list of all the settings variables.
This setting is a list of dictionaries that defines all the properties of your rating methods.
Example:
CRITIC_RATING_METHODS = (
{'name': 'A Simple Up/Down Rating System',
'content_types': ['blog.entry'],
'options': [0, 1],
'allow_change': True
},
)
name - String, Optional, this is a generic name so you can identify the rating method.
options - This is a list of Integers of all the options a user can select.
True|False, used as a default value to determine if a user can change their rating for a object.
The location of the default template. Default location is ‘critic/render.html’
The name of the attribute that will be added to the object for easy access to the ratings