code: def git_pull_view(self, request, repo_name):
          
          LOG.info("Pull requested for %s." % repo_name)
          repo = get_object_or_404(self.model, name=repo_name)
          repo.pull()
          self.message_user(request, "Repo %s successfully updated." % repo_name,
                            level=messages.SUCCESS)
          return redirect('admin:registry_clonedrepo_change', repo_name)
docs: Perform a git pull and redirect back to the repo.