Fixed small bug; It seems get_profile is not supported in Django 1.7