Fix depricated get_profile() in Django 1.7