Updated redirect_to for compatibility with Django 1.5

From 1.3 Django introduced class-based views.  Function-based generic views have been deprecated in 1.5, and the function redirect_to no longer exists.

See: https://docs.djangoproject.com/en/1.4/topics/class-based-views/
Merge pull request #18 from logworthy/patch-1

Updated redirect_to for compatibility with Django 1.5