import os BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) TEMPLATES = [ { 'DIRS': [os.path.join(BASE_DIR, 'photo21/signup/templates')], 'APP_DIRS': True, }, ]