TEMPLATE_DIRS is a tuple if django >= 1.6
Minor modification
More robust check on django.VERSION
 Add dbname property to DBConfig
Fix bug in mongoget + doctests (test if rec is Mapping before using )
allow gridfs DOS files to be accessed without write privileges
Revert "allow gridfs DOS files to be accessed without write privileges"

This reverts commit ada76cdad720bef5755b1061d74417edde387503.

Apparently this was already patched on the gridfs side
Merge branch 'master' into builders_process_item