Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
type_list = list()
for type in location_type._asdict().values():
type_list.append(type.capitalize())
render_template('bla.html', location_types=type_list)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.