Skip to content

Instantly share code, notes, and snippets.

@ShinJJang
Created November 22, 2015 04:50
Show Gist options
  • Save ShinJJang/c9f9a3b36b61c11cea6a to your computer and use it in GitHub Desktop.
Save ShinJJang/c9f9a3b36b61c11cea6a to your computer and use it in GitHub Desktop.
Django templates directory 설정
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