Created
November 22, 2015 04:50
-
-
Save ShinJJang/c9f9a3b36b61c11cea6a to your computer and use it in GitHub Desktop.
Django templates directory 설정
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
BASE_DIR = os.path.dirname(os.path.dirname(__file__)) | |
# 다른 설정들... | |
TEMPLATE_DIR = os.path.join(BASE_DIR, 'templates') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment