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

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