<s> from django . contrib import admin <EOL> from models import * <EOL> class RefererInline ( admin . TabularInline ) : <EOL> model = Referer <EOL> _list_display = ( '<STR_LIT:id>' , '<STR_LIT:title>' , '<STR_LIT:url>' , '<STR_LIT:count>' ) <EOL> admin . site . register ( RedirCounter , <EOL> inlines = [ <EOL> RefererInline , <EOL> ] , <EOL> list_display = _list_display , <EOL> list_display_links = _list_display , <EOL> ) <EOL> admin . site . register ( Referer , <EOL> list_display = ( '<STR_LIT:id>' , '<STR_LIT>' , '<STR_LIT:url>' , '<STR_LIT:count>' , '<STR_LIT>' ) , <EOL> date_hierarchy = '<STR_LIT>' , <EOL> list_filter = ( '<STR_LIT>' , ) , <EOL> ) <EOL> admin . site . register ( ViewCounter , <EOL> list_display = ( '<STR_LIT>' , '<STR_LIT>' , '<STR_LIT:count>' ) , <EOL> list_filter = ( '<STR_LIT>' , ) , <EOL> ) </s>
