import os.path

BASE_PATH = os.path.dirname(__file__)
bunu settıngs.py ye yazıyoruz .ornegın template dosyası ayarlanması su sekılde olucaktır ===>
TEMPLATE_DIRS = (

BASE_PATH+'/templates/',
)