def render_countryfield(field, attrs):
choices = ((k, k.lower(), v)<EOL>for k, v in field.field._choices[<NUM_LIT:1>:])<EOL>return render_choicefield(<EOL>field, attrs, format_html_join("<STR_LIT>", wrappers.COUNTRY_TEMPLATE, choices)<EOL>)<EOL>
Render a custom ChoiceField specific for CountryFields.