<s> from cab . models import Snippet , Language <EOL> from cab . utils import month_object_list , object_list <EOL> def top_authors ( request ) : <EOL> return object_list ( <EOL> request , <EOL> queryset = Snippet . objects . top_authors ( ) , <EOL> template_name = '<STR_LIT>' , <EOL> paginate_by = <NUM_LIT:20> ) <EOL> def top_languages ( request ) : <EOL> return object_list ( <EOL> request , <EOL> queryset = Language . objects . top_languages ( ) , <EOL> template_name = '<STR_LIT>' , <EOL> paginate_by = <NUM_LIT:20> ) <EOL> def top_tags ( request ) : <EOL> return object_list ( <EOL> request , <EOL> queryset = Snippet . objects . top_tags ( ) , <EOL> template_name = '<STR_LIT>' , <EOL> paginate_by = <NUM_LIT:20> , <EOL> ) <EOL> def top_bookmarked ( request ) : <EOL> queryset = Snippet . objects . most_bookmarked ( ) <EOL> return month_object_list ( <EOL> request , <EOL> queryset = queryset , <EOL> template_name = '<STR_LIT>' , <EOL> paginate_by = <NUM_LIT:20> , <EOL> ) <EOL> def top_rated ( request ) : <EOL> queryset = Snippet . objects . top_rated ( ) <EOL> return month_object_list ( <EOL> request , <EOL> queryset = queryset , <EOL> template_name = '<STR_LIT>' , <EOL> paginate_by = <NUM_LIT:20> , <EOL> ) </s>
