from django.conf.urls.defaults import *


urlpatterns = patterns("agon_ratings.views",
    url(r"^(?P<content_type_id>\d+)/(?P<object_id>\d+)/rate/$", "rate", name="agon_ratings_rate"),
)

from django.conf.urls import *


urlpatterns = patterns("agon_ratings.views",
    url(r"^(?P<content_type_id>\d+)/(?P<object_id>\d+)/rate/$", "rate", name="agon_ratings_rate"),
)

Update urls.py to work on Django 1.6