code: def dispatch(self, request, *args, **kwargs):
          
          self._add_next_and_user(request)
          return super(UpdateImageView, self).dispatch(request, *args, **kwargs)
docs: Adds useful objects to the class.