@method_decorator(login_required)
def dispatch(self, *args, **kwargs):
    return super(EditProfileView, self).dispatch(*args, **kwargs)
@method_decorator(login_required)
def dispatch(self, *args, **kwargs):
    return super(EditProfileView, self).dispatch(*args, **kwargs)