<s> from django . contrib import admin <EOL> from repocracy . repo . models import Repository <EOL> class RepositoryAdmin ( admin . ModelAdmin ) : <EOL> actions = [ '<STR_LIT>' ] <EOL> def update_from_origin ( self , request , queryset ) : <EOL> for obj in queryset : <EOL> obj . update ( ) <EOL> update_from_origin . short_description = '<STR_LIT>' <EOL> admin . site . register ( Repository , RepositoryAdmin ) </s>
