django ratings applied to resources