@view_config(route_name='<STR_LIT>', request_method='<STR_LIT:GET>',<EOL>renderer='<STR_LIT>',<EOL>permission='<STR_LIT>', http_cache=<NUM_LIT:0>)<EOL>def admin_print_styles(request):
styles = []<EOL>with db_connect(cursor_factory=DictCursor) as db_conn:<EOL><INDENT>with db_conn.cursor() as cursor:<EOL><INDENT>cursor.execute("""<STR_LIT>""")<EOL>for row in cursor.fetchall():<EOL><INDENT>styles.append({<EOL>'<STR_LIT>': row['<STR_LIT>'],<EOL>'<STR_LIT:title>': row['<STR_LIT:title>'],<EOL>'<STR_LIT:type>': row['<STR_LIT:type>'],<EOL>'<STR_LIT>': row['<STR_LIT>'],<EOL>'<STR_LIT>': row['<STR_LIT>'],<EOL>'<STR_LIT>': row['<STR_LIT>'],<EOL>'<STR_LIT>': row['<STR_LIT:count>'],<EOL>'<STR_LIT>': row['<STR_LIT>'],<EOL>'<STR_LIT>': request.route_path('<STR_LIT>',<EOL>style=row['<STR_LIT>'])<EOL>})<EOL><DEDENT><DEDENT><DEDENT>return {'<STR_LIT>': styles}<EOL>
Returns a dictionary of all unique print_styles, and their latest tag,
revision, and recipe_type.