Read territory cookie and put territory in global variables.
Don't fail when territory is not a valid autocompletion.
Remove console.log.
Add full_name_slug to local url parameters.
Add flake8 configuration.