add media, static and templates dirs