def region_selection(request):
form = get_region_select_form(request.GET)<EOL>abbr = form.data.get('<STR_LIT>')<EOL>if not abbr or len(abbr) != <NUM_LIT:2>:<EOL><INDENT>return redirect('<STR_LIT>')<EOL><DEDENT>return redirect('<STR_LIT>', abbr=abbr)<EOL>
Handle submission of the region selection form in the base template.