Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. 14: import os
  2. 15: # Build paths inside the project like this: os.path.join(BASE_DIR, ...)
  3. 16: BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))),
  4. 17: TEMPLATE_DIR = os.path.join(BASE_DIR, 'templates')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement