import the compat module from actstream, not from djangoraitings