give a change to define mongodb in local_settings
BUGFIX: make TEMPLATE_DIRS a tuple