It's a perfectly legitimate loc_mapper and completely reproduces the behavior of the global one aside from being manually configured rather than configured via django settings.