Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ClassDef bases NameLoad body Expr Str ClassDef bases body Assign NameStore Str decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore Num orelse Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Call NameLoad Str Call NameLoad NameLoad Dict Str Str Str AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Return Call NameLoad keyword NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str ClassDef bases body Assign NameStore NameLoad Assign NameStore TupleLoad decorator_list decorator_list
N/A django forms django.template RequestContext django.template.loader render_to_string portlets.models Portlet N/A reviews.utils AverageRatingPortlet N/A Portlet N/A N/A Portlet to display the average rating for a product.
     Meta N/A N/A N/A app_label portlet N/A __unicode__ N/A N/A self N/A N/A N/A N/A %s N/A self id N/A render N/A N/A self context N/A N/A N/A Renders the portlet as html.
         N/A product N/A N/A context get product N/A request N/A N/A context get request N/A N/A product None N/A N/A average False N/A amount 0 N/A N/A N/A average amount N/A N/A N/A reviews utils get_average_for_instance product N/A N/A render_to_string lfs/portlets/average_rating.html N/A RequestContext request N/A title average amount N/A self title average amount N/A form N/A N/A self N/A kwargs N/A N/A N/A AverageRatingForm instance self kwargs N/A N/A AverageRatingForm N/A N/A forms ModelForm N/A N/A Form for the AverageRatingPortlet.
     Meta N/A N/A N/A model AverageRatingPortlet N/A exclude N/A N/A N/A