gregmuellegger/django-mobile — pull request #17 by shultzm (2012-10-18 19:50:19+00:00)
Title: _local threading conflict on high traffic site

Removed _local definition in _init_flavour because it would conflict with _local def at ln 7 and cause a lot of strange behavior. It would conflict on high traffic sites with cache causing users to get seemingly random templates served to them. This fix has been running for a while and I've seen no issues resulting from this change.