<s> from __future__ import unicode_literals <EOL> from . import models <EOL> from django . contrib import admin <EOL> class TransitionLogAdmin ( admin . ModelAdmin ) : <EOL> actions = None <EOL> date_hierarchy = '<STR_LIT>' <EOL> list_display = ( '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT:user>' , '<STR_LIT>' , ) <EOL> list_filter = ( '<STR_LIT>' , '<STR_LIT>' , ) <EOL> readonly_fields = ( '<STR_LIT:user>' , '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT>' , ) <EOL> search_fields = ( '<STR_LIT>' , '<STR_LIT>' , ) <EOL> def has_add_permission ( self , request ) : <EOL> return False <EOL> def has_change_permission ( self , request , obj = None ) : <EOL> return request . method == '<STR_LIT:GET>' <EOL> def has_delete_permission ( self , request , obj = None ) : <EOL> return False <EOL> admin . site . register ( models . TransitionLog , TransitionLogAdmin ) </s>
