def fetch_github(self, request, queryset):
        updated = []
        for project in queryset:
            if project.fetch_github():
                updated.append(project.title)
        self.message_user(request, "%s successfully updated." % ', '.join(updated))
dataset/ETHPy150Open frozenskys/django-github/github/admin.py/ProjectAdmin.fetch_github/original